Jump to content
Xtreme .Net Talk

Recommended Posts

Posted
Is there a way to close an error window of another application? I am using proc.start & proc.close to programatically start & close an application, but when my VB app executes the .close method, the other app does close, but it gives an error. It is the common error window where you have the option to send or not send the error report to Microsoft. Is there a way I can close that error window programatically? Thanks...
  • Leaders
Posted
The first thing I can think of off the top of my head, but this would require some research, P/Invoke, and experimentation, is to use the Windows API to find the error window, then get the handle to the "Don't Send" button, and send it a click message to simulate a mouse click, causing it to close. There could be something simpler... I don't know.
[sIGPIC]e[/sIGPIC]

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...