Thursday, June 16, 2011

How to Register a 16 Bit OCX


1. Click 'Start,' then 'Run.'
2. Type a command of the form:regsvr c:\windows\control.ocxwhere 'c:\windows\control.ocx' is the path and filename of the OCX file you want to register.
3. Press 'Enter.' Your file should be registered successfully, but the registry program may return an error complaining that there has been an 'Invalid access to memory location.' If this happens, read on.
4. Right-click on 'My Computer' and click 'Properties.' Select the 'Advanced' tab, then click 'Settings' in the 'Performance' section.
5. Click the 'Data Execution Prevention' tab and select the 'Turn on DEP for essential Windows programs and services only' option. Press 'OK' and reboot if prompted. Repeat steps one through three--your problem should be resolved.