C
Charles Law
I have a VB.NET MDI application that terminates for no reason. Sometimes it
will run for ages, and sometimes it terminates after a few seconds. It
always seems to occur following some user action, usually clicking on a
top-level menu item. I am using Infragistics 2004 Vol 1 for menus and
docking regions.
Can anyone suggest ways of tracking the cause down? The main MDI form is
started with Application.Run(New MyForm), which is inside a Try ... Catch
block. When the application terminates unexpectedly no exception is thrown,
and therefore none caught. I have put a break-point immediately after the
Run statement but it is never reached. The MDI form's OnClosing method is
not called, so I can't find a way of trapping the cause of the error. I have
visited Debug | Exceptions and set all exceptions to break into the
debugger, but still nothing. I am just dumped back into the IDE without any
message or warning.
The problem also occurs outside the IDE, when the application is run
stand-alone.
Does anyone have any ideas about how I can trap the cause of this problem?
TIA
Charles
will run for ages, and sometimes it terminates after a few seconds. It
always seems to occur following some user action, usually clicking on a
top-level menu item. I am using Infragistics 2004 Vol 1 for menus and
docking regions.
Can anyone suggest ways of tracking the cause down? The main MDI form is
started with Application.Run(New MyForm), which is inside a Try ... Catch
block. When the application terminates unexpectedly no exception is thrown,
and therefore none caught. I have put a break-point immediately after the
Run statement but it is never reached. The MDI form's OnClosing method is
not called, so I can't find a way of trapping the cause of the error. I have
visited Debug | Exceptions and set all exceptions to break into the
debugger, but still nothing. I am just dumped back into the IDE without any
message or warning.
The problem also occurs outside the IDE, when the application is run
stand-alone.
Does anyone have any ideas about how I can trap the cause of this problem?
TIA
Charles