Hi,
I have a pre-built .NET Console application EXE that I am launching from separate C# code using the Process class. If the application throws an unhandled exception, a window pops up (the one that says " has encountered a problem and needs to close..." and has "Debug", "Send Error Report" and "Don't Send" buttons).
If this happens, control does not return to my code until I press the "Don't send" button button, which is inconvenient for me as I want it to be able to run unattended.
Is there anyway I can suppress this pop-up somehow without changing the pre-built application, or at least end the process after a certain time has elapsed. Ideally in any solution I still want the exception to be captured in the console output so I can read it from my code - this actually does work fine as long as I manually press the "Don't Send" button, so I just want this to happen without user interaction.
Thanks...