Are You Upgrading from Visual Basic 6?

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 2010. Although Visual Basic 2010 (more precisely, VB.NET from 2002 to 2010) 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 way 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 be potentially reused from other languages different than Visual Basic. ...

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