nbrege Posted May 22, 2006 Posted May 22, 2006 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... Quote
Leaders snarfblam Posted May 22, 2006 Leaders Posted May 22, 2006 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. Quote [sIGPIC]e[/sIGPIC]
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.