Hello,
Is there a way to disable .NET Framework "Unhandled Exception has occurred in your application. If you click Continue........." messages? In case the app crashes, I just want it to close without any messages.
Printable View
Hello,
Is there a way to disable .NET Framework "Unhandled Exception has occurred in your application. If you click Continue........." messages? In case the app crashes, I just want it to close without any messages.
use a try, catch block + handle the exception. you can close the app in the catch statement
The following allows you (if you care too) not show a dialog and also not to crash upon the current exception unless that one generates another unhandled exception. I do not advise this but if that is your choice so be it.
http://code.msdn.microsoft.com/Deali...ndled-9b933818