Using ActiveX Controls

Add controls to a Windows form.

  • Instantiate and invoke an ActiveX control.

With their roots in the Visual Basic custom control standard, ActiveX controls have become a major means of delivering encapsulated functionality to Windows applications. The key advance underlying ActiveX controls is that they have a standard set of interfaces through which they communicate with the hosting form. By supporting these interfaces, any application can make use of any ActiveX control, without any knowledge of the internal workings of that control.

This concept has turned out to be so popular that thousands of ActiveX controls are now available commercially. You can find controls to display unusual graphs, controls that implement common ...

Get MCAD/MCSD.NET Training Guide (Exam 70-316): Developing and Implementing Windows®-Based Applications with Microsoft® Visual C#™ .NET and Microsoft® Visual Studio® .NET 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.