VB Migration Partner


Previous | Index | Next 

[INFO] Using the VBMigrationPartner_Support module

VB Migration Partner comes with a VB6 module that contains several methods that you can call from inside your VB6 applications to better prepare them to the migration process. These VB6 methods are usually do-nothing methods that don’t alter the application behavior in any way. Before you can use these methods you must include the VBMigrationPartner_Support.bas module into your VB6 project.

The module includes an ExcludeCurrentFile pragma, therefore it is never included in the migrated .NET application and that all calls to methods in the original VB6 module are served by methods with same name exposed by CodeArchitects.VBLibrary.dll.

The VBMigrationPartner_Support module contains several methods that let you avoid compilation errors or runtime exceptions that are caused by late binding and, more in general, by VB Migration Partner’s inability to detect the actual type of a variable or property. For example, the DoubleToDate6 and DateToDouble6 methods can be used to let the migration tool know that a Double value is being converted to Date (or vice versa), whereas ByteArrayToString6 and StringToByteArray6 methods take care of conversions between strings and Byte arrays.

When converting to C#, references to methods in VBMigrationPartner_Support module are translated to methods in the VB6Helpers class.

Previous | Index | Next 

Follow Francesco Balena on VB6 migration’s group on


Read Microsoft Corp’s official case study of a VB6 conversion using VB Migration Partner.

Code Architects and its partners offers remote and onsite migration services.

More details

Subscribe to our free newsletter for useful VB6 migration tips and techniques.


To learn more about your VB6 applications, run VB6 Analyzer on your source code and send us the generated text file. You will receive a detailed report about your VB6 applications and how VB Migration Partner can help you to quickly and effectively migrate it to .NET.

Get free advice

A fully-working, time-limited Trial Edition of VB Migration Partner allows you to test it against your actual code

Get the Trial

The price of VB Migration Partner depends on the size of the VB6 application, the type of license, and other factors

Request a quote

Migrating a VB6 application in 10 easy steps

Comparing VB Migration Partner with Upgrade Wizard

Migration tools: Feature Comparison Table

All whitepapers