Try-Catch not catching MDI child error

G

Guest

I am launching a MDI child form non-modally (i.e. "form.Show()") from within
a Try-Catch block within a menu Click event on the MDI parent. This child
form loads fine, but during operation of a 3rd party control an exception is
thrown. This exception goes unhandled and the application chokes.

How can I catch this kind of exception?

Any help is greatly appreciated.

Thanks!
T.
 
M

Mattias Sjögren

How can I catch this kind of exception?

Handle the Application.ThreadException event.


Mattias
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top