error handle - vb6 against vb.net
is it possible to translate this vb6 code into vb.net? on error goto errHandle <my code....> errHandle: if err.number=x then resume next elseif err.number=y then resume else exist function end if i'll ask it in other words: is it a way in vb.net to get back to the place of exception or even one line after the exception, or any way of climbing up in the stack? (when i have nested functions)
is it possible to translate this vb6 code into vb.net? on error goto errHandle <my code....> errHandle: if err.number=x then resume next elseif err.number=y then resume else exist function end if i'll ask it in other words: is it a way in vb.net to get back to the place of exception or even one line after the exception, or any way of climbing up in the stack? (when i have nested functions)