This documentation is archived and is not being maintained.

Working 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 programmed. You can use ActiveX controls developed for previous versions of Visual Basic to add features to the toolbox of Visual Studio .NET.

To add ActiveX controls to the toolbox

  1. On the Tools menu, select Add/Remove Toolbox Items. The Customize Toolbox dialog is displayed.
  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 details, see Windows Forms ActiveX Control Importer (Aximp.exe).

See Also

COM Interop | Customize Toolbox Dialog Box | Adding ActiveX Controls to Windows Forms | Windows Forms ActiveX Control Importer (Aximp.exe) | Considerations When Hosting an ActiveX Control on a Windows Form | Troubleshooting Interoperability

Show: