Programming Elements Supported Differently

Several programming elements are supported differently in Visual Basic .NET than they were in VB6. This section highlights existing functions and what-nots that are still supported, but some fundamental aspect of their behavior or value has been modified for .NET.


The Calendar class is an abstract class defined in the System.Globalization namespace. There are several subclasses derived from Calendar, supporting current and historic calendars like the Gregorian calendar.

The Calendar class contains methods for managing time, including adding increments of time, cultural information, and functions like IsLeapYear. The following example creates an example of a JulianCalendar, used in the West and ...

Get Visual Basic® .NET Unleashed now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.