Reputation: 1337
I have a .Net project which has the following dlls:
I need to register the OCX to run my project. Can anyone help me out to find the names of the OCX file?
Thanks
Upvotes: 0
Views: 1653
Reputation: 942020
These are VB6 controls from the previous century. You need to find a machine that still has them, look in c:\windows\system32. The .ocx/.dll file names ought to be reasonably close. The ones I know are comctl32.ocx, mscal.ocx, dbgrid32.ocx and msflxgrd.ocx. Getting Crystal Reports going should be difficult, it was never an integral part of VB6 and requires a bunch of DLLs. These controls also have licensing verification, you won't be able to use them in design mode. That requires a VS6 or VB6 license. You can only get a VS6 license at an auction site like eBay, VB6 is available through an MSDN subscription.
If you get the creeping feeling that this software is getting hard to maintain then you are correct.
Upvotes: 3
Reputation: 549
Have you tried REGSVR32
To register a module, you must provide a binary name.
Usage: regsvr32 [/u] [/s] [/n] [/i[:cmdline]] dllname
/u - Unregister server
/s - Silent; display no message boxes
/i - Call DllInstall passing it an optional [cmdline]; when used with /u calls dll uninstall
/n - do not call DllRegisterServer; this option must be used with /i
Upvotes: 0