VB4 to VB Net

LabRat

Newcomer
Joined
Oct 22, 2003
Messages
4
Location
UK
Please Help,

I have a trusty program that I need to bring up to date and make some changes.

It is in VB4 and I need to get it into VB NET

Please do not tell me i need VB 6 to do this!

Cheers Folks

LabRat:mad:
 
You just told us you wanted to convert a program, but you didn't tell us what specifically you wanted us to tell you. There is no question in your original post.

If you mean you want to convert a program with the "Upgrade Wizard", you will almost certainly need VB6 (possibly VB5 will work too) for it to work. However, the Upgrade Wizard generates horrible, messy code and should never be used. Ever. Rewrite the project in .NET using .NET CLR compliant code and you will be far happier with the end result.
 
OK OK!

How do I get a VB 4 project into VB NET?

Via VB 6?

Or is there another way.

When trying to load it at the moment It says I have a corrupt VB 6 project - it's fine in VB 4!

Thanks in advance.

LabRat:D
 
Like I said, if you want it to be a real .NET project, you have to rewrite it in .NET using similar logic. The upgrade wizard generates terrible code by .NET standards - the code resembles VB6 more than anything. The code generated by the wizard pretty much kills the point of using .NET to begin with.

If you don't want to rewrite it, you should keep it in VB4.
 
Back
Top