To upgrade a Visual Basic 6.0 project to Visual Basic .NET
- Open your project in Visual Basic 6.0. On the File menu, choose Make projectname. Run the application and make sure that there are no errors.
- Start Visual Studio .NET. On the File menu, choose Open, Project.
- In the Open Project dialog box, browse to the location of the Visual Basic 6.0 project and select the project (.vbp) file.
This will launch the Visual Basic Upgrade Wizard.
- On the second page of the wizard, choose from the
available upgrade options. The options will vary depending on the type
of project being upgraded.
Tip For an explanation of available options, press F1 while in the wizard.
- On the third page of the wizard, enter the location where the new project will be created.
Note Each Visual Basic .NET project must be in its
own folder. If you specify a folder that contains files, you will be
prompted to choose a different folder.
- On the fourth page of the wizard, click Next to begin the upgrade process. When the process is complete, the new project will appear in Solution Explorer.
- In Solution Explorer, double-click the _UpgradeReport.htm node to open the upgrade report.
- Review
the upgrade report. Any errors must be fixed before you can run the
application. Any warnings should be examined to make sure that they do
not affect application behavior.
Tip For an explanation of any error or warning, click on the description to display a Help topic.
- On the Debug menu, choose Start. Run the application and make sure that there are no errors and that the behavior is the same as it was in Visual Basic 6.0.