vb logo


Visual Basic Books
Visual Basic Beginner Books
Visual Basic Database Books
Visual Basic ActiveX Books
Visual Basic Advanced Books
VB Internet Programming Books

Visual Basic Courses
Visual Basic Links
Add a Link
Subscribe to Mailing List

Visual Basic Tutorials

The following tutorial is being provided courtesy of Microsoft Press. It has been extracted from "Programming Components with Microsoft Visual Basic 6.0"

ActiveX Controls

A wide assortment of development tools—including Microsoft Visual C++, Microsoft Visual J++, Microsoft Visual Basic, Microsoft Visual FoxPro, Borland Delphi, PowerBuilder, and Microsoft Access—support ActiveX controls. Until recently, however, the only tool available for creating ActiveX controls was Visual C++. This relegated development of ActiveX controls to the province of those who knew lower-level programming languages such as C and C++. With Visual Basic, Microsoft has given developers another tool for creating ActiveX controls. Using Visual Basic, you can create controls for your own software projects or for distribution and sale to other developers for use in their software. In fact, a developer writing applications in C++ and Java can use the ActiveX controls you create in Visual Basic.

ActiveX controls that you build in Visual Basic (or any language, for that matter) are not only useful in development tools but also in end-user applications. For example, you can embed an ActiveX control created in Visual Basic in an HTML document that will be viewed in a Web browser such as Microsoft Internet Explorer. The application in which an ActiveX control is displayed is referred to as the control’s container. Visual Basic is the ActiveX control container used for most of the examples in this chapter—however, keep in mind that your control might be activated in containers other than Visual Basic.

next page....

Email us your comments:mail
Fax: 1(916)404-7719
©1999-2000 VisualBasicBooks.com. All rights reserved.