Click here to Skip to main content
15,066,289 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
CSS
0 down vote favorite


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.
Posted

1 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[^]
   
v2
Comments
Stan Huang 16-Nov-14 21:59pm
   
Solution 1 works. Thanks.
Stan Huang 20-Nov-14 3:10am
   
I've got the reason why after registering ActiveX control, the application program couldn't still show it's GUI. It's because I didn't install OPOS dll & CCO. After I did them, the application program runs well.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900