To register the component, type the following command:
To unregister the component, type the following command:
Visual Basic ActiveX EXE files register themselves the first time you run the EXE. However, you cannot use the EXE as a COM server until it is registered.
If you use the Package and Deployment Wizard or the Application Setup Wizard to distribute your ActiveX EXE, the EXE is registered automatically during application installation.
If you are working in the Visual Basic Integrated Development Environment (IDE), when you use the References dialog box to browse to the file location of an ActiveX EXE that is not registered, the component is registered when you add the EXE as a reference to the project.
Article ID: 297279 - Last Review: Jul 1, 2004 - Revision: 1