As you will most certainly come to realize over the course of this book, Visual Basic 2008 is such a major overhaul of VB6 that it is often best to simply regard VB 2008 as a brand-new language in the BASIC family, rather than as "Visual Basic 7.0." To this end, many familiar VB6 functions, enumerations, user-defined types, and intrinsic objects are nowhere to be found directly within the .NET base class libraries.
While this is technically true, every Visual Basic 2008 project created with Visual Studio 2008 (as well as Visual Basic 2008 Express Edition) automatically references a particular .NET assembly named Microsoft.VisualBasic.dll, which defines types that provide the same functionality of the legacy VB6 constructs. Like any assembly, Microsoft.VisualBasic.dll is composed of numerous namespaces that group together likeminded types (see Figure 2-25).
SportsCar. vb) Car.vb | ClassDia g ra ml. çf* * Object Browser |"Vs2008 Exam pie rModulel.vbrStart Page)
Browse: My Solution
Was this article helpful?