New and Enhanced Controls

Controls are an integral part of the Visual Basic experience. As with the earlier versions of Visual Basic, new and enhanced controls are an important incremental improvement to the language.

Generally speaking, the ActiveX controls in Visual Basic are one of its hottest concepts. You can combine one or more existing controls or develop your own controls from scratch to create ActiveX controls deployable locally or over the Internet. You'll continue to hear a lot about ActiveX controls and their use on the Internet over the next few years. There are several new ActiveX controls in the Visual Basic package. First, I'll list the ones common to all editions of Visual Basic 6:

Next I'll list several new controls and enhancements to previous controls available in the Professional and Enterprise Editions of Visual Basic 6:

Visual Basic 6 continues the pattern of enhancements found in previous versions. For example, you'll find that almost all visual controls now have a property for displaying ToolTips. (See Figure 1-8.) Also, more and more controls are enhanced for common features such as data-access binding, many kinds of Internet capabilities, drag-and-drop functions, and so on.

Figure 1-8. The ToolTipText property is now standard on most controls.

One of my favorite features is the capability of the controls containing graphics images to support the display of standard Internet graphics image types, such as JPEG and GIF, which are found all over the Internet, as shown in Figure 1-9.

Figure 1-9. JPEG and GIF images are supported in controls that display graphics.

Be sure to carefully check through the lists of properties, methods, and events for the controls as you get ready to implement them—you'll probably discover many other exciting and powerful new features!