1. Open a DOS prompt. Click the Windows 'Start' button and select 'Run.' Type 'cmd' in the textbox and press the 'Enter' key. This opens a DOS command prompt.
2. Navigate to the ActiveX control's directory. For instance, suppose the control is located in the 'C:\windows\myactivex' directory. Type 'C:\windows\myactivex' in the command prompt and press the 'Enter' key.
3. Use the Regsvr32 program to uninstall the component. Regsvr32 is a quick, small file installed with the Windows operating system. To unregister the ActiveX component, type the following line in the DOS command prompt:
regsvr32 /u C:\windows\myactivex\<myFileToUninstall.ocx>
Replace the '<myFileToUninstall.ocx>' with the exact name of the file to remove.
4. Close the DOS prompt window.
5. Reboot the computer. Once the computer has been rebooted, the component is no longer active.