
SHELL("C:\WINDOWS\system32\regsvr32 tabctl32. SHELL("C:\WINDOWS\system32\regsvr32 C:\Project1\tabctl32.OCX") - This does not workīut if I copy file to C:\WINDOWS\system32 then register by using the similar code HKEY_CLASSES_ROOT\TypeLib\Īlso, do I need to copy OCX and DLL files to C:\WINDOWS\system32 before register them? Or, I can just register from wherever they are. This application does require the official Microsoft SignTool.exe app that is included in the Windows 10 SDK from Microsoft. These are some of my OCX and DLL I copied from regedit This app was created to reduce the number of steps to apply a code signing certificate to a. The only problem is how I can look for these keys if they exist. I used regedit to check guid of my OCX and DLL files. BUT in a machine that has only PB6 installation (no MS visual studio) - I can register the ocx (using regsvr32 command), and even can register it in PB, but when trying to put the control on a window I get the following message: 'Insert of OLE object failed, license file required' I couldnt find any license (.lic) file for the mswinsck.ocx. Next, go back to the Windows folder and open up the folder named sysWOW64. Note: In this case, the file name is MSCOMCT2.OCX, but you can replicate this procedure any OCX component that fails to register.

I think Metallisoft's idea might be my best hope now. Next, go to Windows > Windows 32 and use the search bar to look for the OCX file.
