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.
Dig deeper on Win Development Resources
Related Q&A from Dave Ranck
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.