- 1). Click the Windows "Start" button. In the text box, enter "cmd." Click "OK" to open your command line utility.
- 2). Type "regsvr32 -?" into the command line. Press "Enter." View the list of options and proper syntax for the command. This is useful when you forget how to use the regsvr32 command.
- 3). Type regsvr32 -s ocx_file" and press "Enter." Replace "ocx_file" with your own OCX. The command line returns a success message telling you that the OCX is imported into the registry.
previous post