Ask the Expert

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

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

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: