Completing the Upgrading Process

After running the Upgrade Wizard, your upgraded project is opened in Visual Basic 2008. The project appears in Solution Explorer; it includes upgraded copies of all project files plus an upgrade report.

In most cases, there is additional work that needs to be done to ensure that your project runs successfully in Visual Basic 2008. There are three categories of work items that must be completed:

  • UPGRADE_ISSUE errors are items that prevent the application from compiling. You must correct these errors before running the project. These are reported in the upgrade report and also appear as items in the Task List.

  • UPGRADE_TODO errors are items that do not keep the project from compiling but that cause run-time errors. You must correct these errors before running the project. These are reported in the upgrade report, as items in the Task List, and as comments in the upgraded code.

  • UPGRADE_WARNING errors are items that do not keep the project from compiling but that may cause run-time errors. You should investigate these and correct them as necessary. These are reported in the upgrade report, as items in the Task List, and as comments in the upgraded code.

  • UPGRADE_NOTE items are items that represent major changes to code or behavioral differences, which could have potential side effects. You should read these notes and decide if you need to make changes. These are reported as comments in the code.

To complete the upgrade process, you need to check the Task List for any errors or warnings and search your code for any comments that begin with "UPGRADE_NOTE".

Tip

Every comment line inserted into your code during upgrade contains a hyperlink. Clicking the link (CTRL+click) takes you to a Help page that explains the issue and what you need to do to address it. The link appears at the end of the comment line; you may need to scroll in order to see it.

See Also

Concepts

Visual Basic Upgrade Wizard

Other Resources

Upgrading Applications Created in Previous Versions of Visual Basic