Thursday, December 6, 2012

How to Unregister an OCX


1. Click the Windows 'Start' button and select 'Run.' Type 'cmd' in the textbox and press 'Enter.'
2. Navigate to the location of the OCX file. For instance, if the file is located in the 'c:\myocx' directory, type 'c:\myocx' in the command prompt and press 'Enter.'
3. Type the command to unregister the file. Type 'regsvr32 /u myfile.ocx' in the command prompt. Change the 'myfile.ocx' with the name of your file. The '/u' switch triggers the uninstall process.
4. Read the confirmation. The regsvr32.exe file returns a response when the file has been successfully unregistered.