What about try - catch around Application.Run for WinForm applications? ASP.NET has common error page you can use.
Mladen ----- Original Message ----- From: "Paul Stevens" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 04, 2002 9:20 AM 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.