S
Simon
I was of the impression that code placed after a
Try...Catch block was only executed if there was no
exception thrown.
I've got some VB.net code as part of a Windows form that
executes even when an exception is thrown - it behaves as
if the code is part of a finally block.
Looking through all the documentation and MSDN articles,
it seems that none of the examples contain code placed
after a try...catch block nor explain the ramifications
of doing so.
Any ideas? Perhaps I should just move the code into the
try block after the code likely to cause an error.
Simon.
Try...Catch block was only executed if there was no
exception thrown.
I've got some VB.net code as part of a Windows form that
executes even when an exception is thrown - it behaves as
if the code is part of a finally block.
Looking through all the documentation and MSDN articles,
it seems that none of the examples contain code placed
after a try...catch block nor explain the ramifications
of doing so.
Any ideas? Perhaps I should just move the code into the
try block after the code likely to cause an error.
Simon.