activexdrivervisual-c++-6opos

"The ActiveX control "{CCB90042-B81E-11D2-AB74-0040054C3719}" is not registered on this computer."


I got a VC6 program about OPOS driver from my company, which was left by ex-employee. I built it and got executable file successfully. I ran it and nothing happened. But it's supposed to show a form with some buttons & other kinds of controls inside it. According to the original designer, it works. But it doesn't work. Besides, I got message usually when browsing the resource or running the program: "The ActiveX control "{CCB90042-B81E-11D2-AB74-0040054C3719}" is not registered on this computer. Register the control and try again.

I am not familiar with ActiveX. How can I do to register so that the program can run successfully.

My platform is POSReady 2009, which is close to Windows XP.


Solution

  • You should have a file called OPOSCashDrawer.ocx, which appears to be the file associated with that GUID. You'll need to call regsvr32 to register that file:

    regsvr32 OPOSCashDrawer.ocx
    

    How to register an ActiveX control (.ocx) manually