M
Mathieu Brüning
Hi all,
i'm trying to write an exception handler for my application, so in case an
exception occurs anywhere in my application, the exception has to be
catched.
At this moment i'm doing it via the following code:
Application.ThreadException += new
System.Threading.ThreadExceptionEventHandler(Application_ThreadException);
But this doesn't work for me. If an exception is being thrown, it isn't
catched by the ThreadException event and a exception is being displayed.
Could someone please help me with this problem?
Thanks in advance,
Mathieu
i'm trying to write an exception handler for my application, so in case an
exception occurs anywhere in my application, the exception has to be
catched.
At this moment i'm doing it via the following code:
Application.ThreadException += new
System.Threading.ThreadExceptionEventHandler(Application_ThreadException);
But this doesn't work for me. If an exception is being thrown, it isn't
catched by the ThreadException event and a exception is being displayed.
Could someone please help me with this problem?
Thanks in advance,
Mathieu