Upgrading Applications Created in Previous Versions of Visual Basic
Visual Studio .NET provides the ability to upgrade applications created in Visual Basic 6.0 so that you can continue development, taking advantage of the benefits of the .NET Platform. When you first open a Visual Basic 6.0 project file (.vbp), the Upgrade Wizard will appear. A command-line tool is also provided for upgrading projects outside of the Visual Studio environment.
The upgrading tools modify the code within your project to comply with Visual Basic .NET syntax and replace any forms and controls with Visual Basic .NET equivalents. Due to the differences between Visual Basic 6.0 and Visual Basic. NET, some things in your project may not map directly — in these cases, an upgrade report is provided 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 .NET. In addition, there are some things that you can do to your Visual Basic 6.0 applications that will help to make the upgrade process go 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 .NET.
- 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 .NET with the Upgrade Wizard.
- Upgrading a Project with the Upgrade Wizard
- Describes how to use the Upgrade Wizard.
- Upgrading 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 .NET code.
- Visual Basic 6.0 Code Upgrade Dialog Box
- Describes the user interface for upgrading Visual Basic 6.0 code to Visual Basic .NET code.
- Upgrading WebClass Projects to Visual Basic .NET
- 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.
- Viewing the Upgrade Report
- Explains how to open the upgrade report.
- Upgrading 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.
- What's New in Visual Basic and Visual C#
- Describes the new features in Visual Basic .NET.
- Introduction to Visual Basic .NET for Visual Basic Veterans
- Lists the differences between Visual Basic 6.0 and Visual Basic .NET.
- Working with Both Visual Basic 6.0 and Visual Basic .NET
- Describes compatibility between the two versions of Visual Basic.