Language Recommendations for Upgrading
Because there are language differences between Visual Basic 6.0 and Visual Basic 2008, you may need to change some code when you upgrade an application.
Use the following recommendations when preparing a Visual Basic 6.0 application for upgrade or when developing Visual Basic 6.0 applications that might later be upgraded.
In This Section
Upgrade Recommendation: Use Early Binding and Explicit Conversions
Provides recommendations for variable declaration and data type conversion in Visual Basic 6.0 applications.Upgrade Recommendation: Use the Date Data Type for Storing Dates
Provides recommendations for date handling in Visual Basic 6.0 applications.Upgrade Recommendation: Resolve Parameterless Default Properties
Provides recommendations for referencing default properties in Visual Basic 6.0 applications.Upgrade Recommendation: Avoid Null Propagation
Provides recommendations for handling null values in Visual Basic 6.0 applications.Upgrade Recommendation: Use Zero-Bound Arrays
Provides recommendations for creating arrays in Visual Basic 6.0 applications.Upgrade Recommendation: Use Constants Instead of Underlying Values
Provides recommendations for referencing constants in Visual Basic 6.0 applications.Upgrade Recommendation: Avoid Arrays and Fixed-Length Strings in User-Defined Types
Provides recommendations for User-Defined Types in Visual Basic 6.0 applications.Upgrade Recommendation: Avoid Legacy Keywords
Provides recommendations for the use of obsolete keywords in Visual Basic 6.0 applications.Upgrade Recommendation: Adjust Data Types for Win32 APIs
Provides recommendations for calling Windows APIs in Visual Basic 6.0 applications.
Related Sections
Preparing a Visual Basic 6.0 Application for Upgrading
Describes how to make sure your application is ready to be upgraded.Things to Consider Before Upgrading
Discusses the limitations of and considerations for upgrading.Upgrading Applications Created in Previous Versions of Visual Basic
Discusses upgrading your Visual Basic 6.0 applications.