How to: Work with ActiveX Controls

ActiveX controls are COM components or objects you can insert into a Web page or other application to reuse packaged functionality someone else has programmed. You can use ActiveX controls developed for Visual Basic 6.0 and earlier versions to add features to the Toolbox of Visual Studio.

To add ActiveX controls to the toolbox

  1. On the Tools menu, click Choose Toolbox Items.

    The Choose Toolbox dialog box appears.

  2. Click the COM Components tab.

  3. Select the check box next to the ActiveX control you want to use, and then click OK.

    The new control appears with the other tools in the Toolbox.

    Note

    You can use the Aximp utility to manually create an interop assembly for ActiveX controls. For more information, see Windows Forms ActiveX Control Importer (Aximp.exe).

See Also

Tasks

How to: Add ActiveX Controls to Windows Forms

Troubleshooting Interoperability

Concepts

Considerations When Hosting an ActiveX Control on a Windows Form

Reference

Choose Toolbox Items Dialog Box (Visual Studio)

Windows Forms ActiveX Control Importer (Aximp.exe)

Other Resources

COM Interop