VB.NET Compatibility Check

Enterprise Edition only

Is your code ready for Visual Basic .NET? The VB.NET Compatibility Check feature reviews existing VB6 code to find incompatibilities with .NET.

Features

Compatibility rules
Compatibility report

All Project Analyzer editions can analyze VB.NET code. Enterprise Edition is required for the Compatibility rules and the Compatibility report.

How to try it?

  1. Click Options|Problem options and select <VB.NET Compatibility> or <VB.NET Fix before upgrade> as the problem filter.
  2. Analyze a VB6 project.
  3. See the problem list for compatibility issues.
  4. Fix the issues that can be fixed before the upgrade.
  5. Import your project to VB.NET.
  6. Continue your upgrade work based on the upgrade report given by Visual Studio.

What is it like to upgrade to VB.NET?

Visual Basic .NET introduces a lot of changes to VB programming. Old code won't run without modifications. VB.NET does include an upgrade wizard to import VB 6.0 code, but the migration process is not fully automated. The wizard cannot convert all the code, nor does it warn about every incompatibility. Fortunately, you can help the process by preparing your code in advance.

If you plan to move to VB.NET now or later, make sure your code is compatible with it. Prepare your declarations and syntax. Fix your form design. Plan the data structures. Even if you plan to keep working in an older VB version, it pays off to write .NET compatible code for the future.

See also

Problem detection
Code review rules: Problem list

©Aivosto Oy - Project Analyzer Help Contents