Compatibility Between VB6 and VB .NET

Experienced users of Visual Basic 6 will find that once they understand key differences between VB6 and VB .NET, it's possible to easily migrate VB6 code to the VB .NET environment.

Microsoft.VisualBasic

The Microsoft.VisualBasic compatibility namespace includes elements relevant to VB6 compatibility. If you open a VB6 project in VB .NET, the migration wizard will run. Migrating code from VB6 to VB .NET uses things from the compatibility namespace. For new code, I would suggest you use the new types, idioms, collections, and other features of VB .NET because elements of the Microsoft.VisualBasic compatibility namespace will probably find their way into the circular file soon.

Programming Elements Not in Visual ...

Get Visual Basic® .NET Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.