doubts in Porting from VB6 to VB.NET

  • Thread starter Thread starter Prashant Taleda
  • Start date Start date
P

Prashant Taleda

I used a convert wizard to upgrade a vb6 project to
VB.Net

The On error Goto code is left as is. Is there a way to
convert it to try-catch-finally blocks automatically in
the wizard?
 
Hi Prashant,

First the wizard doesn´t convert this automatically
because VB.Net supports both error handlers. Secondly
there is no simple conversion due to the complexity and
differences between both handlers. Microsoft simply
leaves it up to you!

Success,
Robert.
 
* "Prashant Taleda said:
I used a convert wizard to upgrade a vb6 project to
VB.Net

The On error Goto code is left as is. Is there a way to
convert it to try-catch-finally blocks automatically in
the wizard?

The best way is to rewrite the complete application by hand.
 
Back
Top