Migrating Visual Basic 6 Windows Applications

Because migrating a really trivial application would be misleading and a really long application would easily consume dozens, perhaps hundreds, of pages, I picked a sample application to migrate. The application consists of a separate client and server and is available with MSDN. (You will need to have MSDN for Visual Studio 6 installed, or you can acquire a copy of the source code from Microsoft to repeat the steps described here.)

Table A.1. VB6 Features Unsupported in VB .NET
NameComments
OLE Container ControlLeave it behind.
Dynamic Data Exchange (DDE)Consider using the SendMessage API method.
DAO or RDOConsider upgrading to ADO in VB6 or ADO.NET in VB .NET. (You can use regular ADO in .NET through ...

Get Visual Basic® .NET Power Coding 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.