Sunday, June 26, 2011

How to Add OCX


1. Copy the OCX file that you want to add to your computer into the Windows system directory. For Windows 7, this is usually 'C:\Windows\System32.'
2. Open the 'Start' menu and type 'cmd.' Push 'Control,' Shift' and 'Enter' at the same time to start an elevated command prompt. Press 'Continue' if asked for permission to execute the command.
3. Input 'cd C:\Windows\System32\' (or the path to your system directory if it is different) and press 'Enter.'
4. Type 'Regsvr32 <OCX_File>' where OCX_File is the name of the ActiveX control you are registering.
5. Restart Windows to complete the addition of the new OCX file.