Helping Your VB6 Applications Upgrade

There are a number of things you can do in your VB6 application to make the upgrade easier. This is not a comprehensive list, but it covers some of the most important aspects.

Note that this chapter refers to upgrading VB6 projects—what about VB3, VB4, and VB5 projects? Although the upgrade tool recognizes the format of VB5 and VB6 project types, some VB5 ActiveX references have problems after they are upgraded. For this reason, it's better to upgrade your VB5 applications to VB6—and upgrade the controls to VB6 controls—before upgrading the application to VB .NET. The upgrade tool cannot upgrade projects saved in VB4 and earlier.

Do Not Use Late Binding

As you saw earlier in the chapter, late binding can ...

Get A Programmer's Introduction to Visual Basic® .NET 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.