To manually register an ActiveX EXE, simply execute the program from the DOS command line. If you run it from the command line (if the component contains at least one public class), Visual Basic creates the ActiveX executable with start-up code that registers the component, then quits. To manually register an OCX or ActiveX DLL, use REGSVR32. Type the following text at the DOS command prompt to register the component, using your component's name and correct extension:




Reply With Quote