Tips for Visual Basic 6 Migration

One of the (very few) commonalities between Visual Basic 6 and Visual Basic .NET and higher is the syntax approach. This should help a little more in migrating from Visual Basic 6 to 2015. Although Visual Basic 2015 (more precisely, VB.NET from 2002 to 2015) still enables the usage of the On Error Goto and On Error Resume statements, when developing .NET applications with Visual Basic, you should never use such statements for two reasons. First, exceptions are the only thing that enables interoperation with other .NET languages such as Visual C# and Visual F#. This is fundamental when developing class libraries or components that could potentially be reused from other languages than Visual Basic. The second reason ...

Get Visual Basic 2015 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.