Monday, July 8, 2013

How to Manually Register an OCX File in Visual Basic


1. Click 'Start' followed by 'Run.'
2. Type 'regsvr32 C:\Windows\System32\MyOCXcontrol.dll' in the 'Open' box.
3. Press the 'Enter' key to register 'MyOCXcontrol' on your Windows system. Wait for the display of a dialog box, informing you that the control has been registered successfully. Close the box to complete the registration of the OCX control.