Try Catch is more structured and just all around better.
You have blocks of code that can be nested inside eachother, with clear
logic about exactly what will happen in case of an error.
The fact that the "GOTO" statement is associated with the old ON ERROR
technique should be a clue that it tends to result in spaghetti code.
--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
"Tiraman" <ti*****@netvision.net.il> wrote in message
news:OQ**************@TK2MSFTNGP09.phx.gbl...
Hi ,
Can some one tell me what is the BIG issue around the try catch mechanism
?
what is the deferent between the try catch in .NET and the on error resume
next in VB6
beside that i can eliminate the errors ?
Best Regards ,
Tiraman :-)