Aaaaargh OK I Got this Working Pretty Well, Both by Using the Thread.Unhandled Exception and try catch around the application.Run, but there is some weird behaviour.
When I am running it in VS everything Works Great, Compile it run the app from the command line and the handler gets ignored ????????????????? -----Original Message----- From: Patrick Steele [mailto:[EMAIL PROTECTED]] Sent: 06 June 2002 10:14 PM To: [EMAIL PROTECTED] Subject: Re: [DOTNET] Handling Unhandled Exceptions See this thread (make sure you read to the end): http://discuss.develop.com/archives/wa.exe?A2=ind0109B&L=DOTNET&P=52210 --- Patrick Steele ([EMAIL PROTECTED]) Lead Software Architect Image Process Design -----Original Message----- From: Paul Stevens [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 04, 2002 5:42 AM To: [EMAIL PROTECTED] Subject: Re: [DOTNET] Handling Unhandled Exceptions Cool Thanks, I can't find any Example of doing this, or at least the ones I find don't work, any Examples that you know of -----Original Message----- From: Nick Wienholt [mailto:[EMAIL PROTECTED]] Sent: 04 June 2002 10:01 AM To: [EMAIL PROTECTED] Subject: Re: [DOTNET] Handling Unhandled Exceptions Try the AppDomain.UnhandledException Event Nick ----- Original Message ----- From: "Paul Stevens" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 04, 2002 5:20 PM Subject: [DOTNET] Handling Unhandled Exceptions > Is there a way to capture all unhandled exceptions in my code ie a > centralized exception handling function for all exceptions I did not handle > specifically ? > > > > Paul Stevens > Senior Developer > Resolution Technology Group > Cellular: * +27 (0) 82 413 3171 > Phone: * +27 (0) 12 665 4620 > Fax: * +27 (0) 12 665 4619 > Mail: * [EMAIL PROTECTED] > > > > Privileged/Confidential information may be contained in this message. If you > are not the addressee indicated in this message (or responsible for delivery > of the message to such person), you may not copy or deliver this message to > anyone. In such case, you should destroy this message, and notify us > immediately. If you or your employer does not consent to Internet email > messages of this kind, please advise us immediately. Opinions, conclusions > and other information expressed in this message are not given or endorsed by > our firm or employer unless otherwise indicated by an authorized > representative independent of this message. > > You can read messages from the DOTNET archive, unsubscribe from DOTNET, or > subscribe to other DevelopMentor lists at http://discuss.develop.com. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.