Migrating to VB.NET

by Glen Gillmore

Matthew MacDonald, co-author of ADO.NET in a Nutshell, ASP.NET in a Nutshell, and Programming .NET Web Services, has a terrific article on migrating from VB6 to VB.NET in the premier issue of .NET Developer's Journal -- an up-and-coming magazine.



Based on what I've learned about Visual Basic migration to .NET, his succinct summary was right-on-target:

A) "The best approach for many VB 6 projects is - scandalously enough - to not migrate at all.... "
B) "you can make heavy use of .NET's COM interoperability, and migrate individual modules to .NET piecemeal..."
C) "for stand-alone applications that don't use COM, you might be better off maintaining the the unmanaged world of VB 6 until a full rewrite is possible."





Have you migrated existing code to VB.NET? Was it as painful as expected?