M
Miro
I cant seem to find an example on how to do something, ( vb2005.express )
i have a
Try
ListeningSerialPort.Open()
TestText.Enabled = True
Catch ex As Exception
'Debug.WriteLine(ex.Message)
End Try
<morecodehere>...
statement, and what I am tryign to do is Catch the exception ( which it
does ) but i dont want to throw it anywhere.
How do I get this try catch to continue gracefully so if an exception is
caught, the "more code here" gets executed and continues on - the user never
sees that an exception was hit and they do not know the difference?
Currently when I compile / and create a setup.exe with the publish and
install it, the program hits a fatal exception -displays it to the user and
fails. If I run the same program in vb.net express, then this does not
happen, it shows the exception in the immediate window but lets me continue.
Am I missing something with the Try Catch statement ?
I hope that makes sence.
Miro
i have a
Try
ListeningSerialPort.Open()
TestText.Enabled = True
Catch ex As Exception
'Debug.WriteLine(ex.Message)
End Try
<morecodehere>...
statement, and what I am tryign to do is Catch the exception ( which it
does ) but i dont want to throw it anywhere.
How do I get this try catch to continue gracefully so if an exception is
caught, the "more code here" gets executed and continues on - the user never
sees that an exception was hit and they do not know the difference?
Currently when I compile / and create a setup.exe with the publish and
install it, the program hits a fatal exception -displays it to the user and
fails. If I run the same program in vb.net express, then this does not
happen, it shows the exception in the immediate window but lets me continue.
Am I missing something with the Try Catch statement ?
I hope that makes sence.
Miro