7.12. Framework Class Library Namespaces

As we have seen, the FCL contains many predefined classes that are grouped into namespaces. Throughout the text, we have used Imports statements to specify the namespaces used in a program. For example, a program includes the declaration

					Imports System.Windows.Forms

to specify that the program uses classes in this namespace, such as class MessageBox. This allows you to use the simple class name MessageBox, rather than the fully qualified class name System.Windows.Forms.MessageBox, in the code. A great strength of Visual Basic is the large number of classes in the FCL. Some key FCL namespaces are described in Fig. 7.9, which represents only a small portion of the reusable components in the FCL.

Figure ...

Get Visual Basic 2005 for Programmers: Deitel Developer Series, Second Edition 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.