Upgrading Applications Created in Previous Versions of Visual Basic
With Visual Basic 2005, you are able to upgrade applications created in Visual Basic 6.0 so you can continue development, taking advantage of the benefits of the .NET Framework. When you first open a Visual Basic 6.0 project file (.vbp), the Upgrade Wizard appears. You can also upgrade projects outside of the development environment with the provided command-line tool.
The upgrading tools modify code within your project to comply with Visual Basic 2005 syntax and replace any forms and controls with Visual Basic 2005 equivalents. Due to the differences between Visual Basic 6.0 and Visual Basic 2005, some parts of your project may not map directly—in these cases, you receive an upgrade report to guide you through the process of modifying your application.
Some Visual Basic 6.0 applications may not benefit from being upgraded to Visual Basic 2005. You can prepare those applications you do choose to upgrade so that upgrading goes smoothly.
The following topics will help you better understand the upgrade process.
In This Section
- Why Upgrading Is Necessary
-
Discusses the differences between Visual Basic 6.0 and Visual Basic 2005.
- Things to Consider Before Upgrading
-
Discusses the limitations of and considerations for upgrading.
- Preparing a Visual Basic 6.0 Application for Upgrading
-
Describes how to make sure that your application is ready to be upgraded.
- Language Recommendations for Upgrading
-
Provides recommendations you can follow when preparing a Visual Basic 6.0 application for upgrade, or when developing Visual Basic 6.0 applications that might later be upgraded.
- Visual Basic 6.0 Compatibility Library
-
Describes a mechanism provided for backward compatibility.
- Visual Basic Upgrade Wizard
-
Provides an overview of upgrading a Visual Basic 6.0 project to Visual Basic 2005 with the Upgrade Wizard.
- How to: Upgrade a Project with the Visual Basic Upgrade Wizard
-
Describes how to use the Upgrade Wizard.
- How to: Upgrade Visual Basic 6.0 Code with the Upgrade Visual Basic 6 Code Dialog Box
-
Explains how to upgrade Visual Basic 6.0 code to Visual Basic 2005 code.
- Upgrade Visual Basic 6 Code Dialog Box
-
Describes the user interface for upgrading Visual Basic 6.0 code to Visual Basic 2005 code.
- Upgrading WebClass Projects to Visual Basic 2005
-
Explains how to upgrade WebClass projects (also known as IIS Applications) to ASP.NET Web Application projects.
- Completing the Upgrading Process
-
Describes what to do next after the Upgrade Wizard has finished running.
- Visual Basic Upgrade Report
-
Describes the format and purpose of the upgrade report.
- How to: View the Upgrade Report
-
Explains how to open the upgrade report.
- How to: Upgrade a Project from the Command Line
-
Describes how to use the command-line upgrading tool.
- Troubleshooting Applications Upgraded from Visual Basic 6.0
-
Lists some known issues that are not detected by the upgrading tools and explains how to address them.