Tuesday, September 18, 2012

How to Convert Visual Basic 6


1. Open Visual Basic Express or run Visual Basic though Visual Studio .NET. Click on 'Open Project.' Locate the Visual Basic 6.0 project file, which should have a suffix of vbp. Select the project.
2. The Visual Basic Upgrade Wizard will open, warning you that this is a Visual Basic 6.0 project needing an upgrade. Click 'Next' to continue. Select the default EXE type of project on the next screen and click on 'Next' to continue.
3. Choose a location for the converted project by accepting the suggested one or clicking on 'Browse' to select a different folder location. Click 'Next' and allow the wizard to create the directory and folder, then continue. The conversion may take some time depending on the complexity of the older program.
4. Review the _UpgradeReport.htm file, which lists results, including errors and warnings, when the upgrade finishes. Locate these problems in the code, which will have comments inserted beginning with 'Upgrade warning' followed by a description of the problem and a URL for helpful information.
5. Save the converted project, which will have a suffix of vbproj. Test it for functionality by pressing 'F5' to run the program.