Q

How to upgrade a VB version 3 project to VB.NET?

I have source code for a Visual Basic version 3 project and would like to upgrade it to VB.NET. I am unsure of how to proceed and what would be my best course of action. There are 11 .vbx files, over 20 form files, and over 15 .bas files that are used in the current project. Also I do not have VB version 3. What would you suggest would be my best course to upgrade this project? There is no direct way to do this. You can upgrade a VB...

6 project directly, but not a VB 3 project. The VBXs will have to be replaced with 32-bit controls. There could be a rather interesting upgrade path here

You could upgrade to VB 6 and upgrade all the VBXs to 32-bit DLLs/OCXs (if new versions exist) and then attempt an upgrade to .NET. Chances are that you will have serious upgrade issues with the OCXs. Which brings us to the probable reality that you will have to rewrite the app in .NET -- which is not entirely a bad thing, as you can create a much more maintainable application structure by using classes, OOAD, nTier design, etc.

This was first published in July 2002

Dig deeper on Visual Basic .NET Web services

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchSoftwareQuality

SearchCloudApplications

SearchAWS

TheServerSide

SearchWinDevelopment

Close