If you want to use a form as an OCX control, you need to register it to the system. To register a form as an OCX control:
Build the module to create a DLL without errors.
Select the module in the left windowpane of the PowerCOBOL Project Manager.
Either select Register from the pop-up menu or, from the Edit menu select Object, Register.
If the OCX control is no longer required, you can unregister it by:
Select the module in the left windowpane of the PowerCOBOL Project Manager
Either select Unregister from the pop-up menu or, from the Edit menu select Object, Unregister.
Note that when you unregister a control, project files that use it can be opened but cannot be updated.
When you use the OCX control on another computer, use an installer to register the control on the computer. Similarly, when the control is no longer required, unregister it with an uninstaller.