You would have to figure out how you want to handle the exception(s) then after you handle them, call the same sub/function again with the corrected info(parameters would probably be best).
Good Luck!
D
User Profile
Collapse
-
Dont forget finally!!
There is another option for Try....Catch Blocks. It is finally:
Code:Try 'Put your code in here Catch nex as NullReferenceException 'This is how you can catch specific types of exceptions and handle them separately. Catch ex as Exception 'If you do not specify an exception type then this will catch it. Kind of an all ' purpose catchers mitt.
Leave a comment:
No activity results to display
Show More
Leave a comment: