Share via


Upgrade project from visual basic 6 to vb.net

Question

Tuesday, February 20, 2018 12:26 PM

Hello,

I want convert my project to vb.net because i using with win 10 now.

I tried to convert with visual basic 2008 but the result are not good .

Is there a tool that will help me?

Thank's

All replies (2)

Wednesday, February 21, 2018 2:53 AM

Hi idoshar,

VB6 or VB2008 Environment was really old, actually we also didn't support the VS2008/VB2018.

There are some documents which shared how to update the VB6 projects:

https://msdn.microsoft.com/en-us/library/bszew91f(v=vs.100).aspx

https://msdn.microsoft.com/en-us/library/zbyth951(v=vs.90).aspx

At least, we could know that we really need to change certain code, it is hard for you to update the project directly with the higher version VS IDE.

Of course, if you get any compiled error from the updated VB project, you could think about posting the issue to the VB language developing forum. Or just create the new VB project directly.

Since this forum is to discuss the VS IDE/Editor, any VS usage issue, feel free to post it here.

Sincerely,

Jack

MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact [email protected].


Sunday, February 25, 2018 4:53 AM | 1 vote

Hello,

I want convert my project to vb.net because i using with win 10 now.

I tried to convert with visual basic 2008 but the result are not good .

Is there a tool that will help me?

Thank's

It has always been a problem that Microsoft never provided a route to upgrade from the VB6 programming language. That's why there is so much VB6 still around today.

There was a half-hearted attempt at a conversion tool but it was abandoned after VB2008 and wasn't very good, as you have found.

Fortunately VB6 still runs on Windows 10.  Microsoft say:-

The Visual Basic team is committed to "It Just Works" compatibility for Visual Basic 6.0 applications on the following supported Windows operating systems:

  • Windows 10
  • Windows 8.1
  • Windows 7
  • Windows Server 2016
  • Windows Server 2012 including R2
  • Windows Server 2008 including R2

Microsoft VB6 support statement

And you can install the VB6 programming IDE on Windows 10 too:-

VB6 IDE Installer