R
Rigga
Hi all,
I am trying to catch the exceptions from a VB.NET app.
I use a startup project, so that i can show the MDI main application window
as a dialog within a Try Catch block. se below..
Try
Dim f as MainForm
f.ShowDialog()
Catch ex as Exception
' write nice error reporting routine!
End Try
Then in the Catch ex as Exception.. I write a nice error file..
This all works fine when i run the App from within the IDE, but when i run
outside of the IDE i.e. run the .exe file. it doesn't seem to catch the
exception???
It brings up a dialog box, with the error details, and allows the user to
hit the continue button and carry on as if nothing happened!?
Anyone else had this problem? or am i just doing something wrong?
Thanks in Advance.
R.
I am trying to catch the exceptions from a VB.NET app.
I use a startup project, so that i can show the MDI main application window
as a dialog within a Try Catch block. se below..
Try
Dim f as MainForm
f.ShowDialog()
Catch ex as Exception
' write nice error reporting routine!
End Try
Then in the Catch ex as Exception.. I write a nice error file..
This all works fine when i run the App from within the IDE, but when i run
outside of the IDE i.e. run the .exe file. it doesn't seem to catch the
exception???
It brings up a dialog box, with the error details, and allows the user to
hit the continue button and carry on as if nothing happened!?
Anyone else had this problem? or am i just doing something wrong?
Thanks in Advance.
R.