Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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:

  • *Experts*
Posted

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.

Posted

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

  • *Experts*
Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...