Upgrade Visual Basic 6 Project to Visual Basic .NET

To upgrade a Visual Basic 6.0 project to Visual Basic .NET

  1. 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.
  2. Start Visual Studio .NET. On the File menu, choose Open, Project.
  3. 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.

  4. 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.
  5. 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.
  6. 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.
  7. In Solution Explorer, double-click the _UpgradeReport.htm node to open the upgrade report.
  8. 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.
  9. 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.