Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do you register an ocx file?

Status
Not open for further replies.

ColinC

Programmer
Apr 12, 2000
29
CA
We have two different versions of VB 5(Proffessional and Enterprise). When I compile and run a program on my machine it runs fine. On another station I get errors saying I don't have a license to use one of the controls. I've included the control in the project and it's included in the setup wizard.<br><br>The program was written using Enterprise edition. I've tried debugging it on the workstation with the Proffessional edition. To do this I have to rename the controls before I install the Proffessional edition. <br>Is there a way to register two controls with the same name if they're in separate directories? <p>Colin Chevrier<br><a href=mailto:colin.chevrier@ca.jdsunph.com>colin.chevrier@ca.jdsunph.com</a><br><a href= > </a><br>
 
regsvr32 ocxfile.ocx to register<br>regsvr32 /u ocxfile.ocx to unregister (best to do when replacing a control with a newer one)<br> <p>Karl<br><a href=mailto:kb244@kb244.8m.com>kb244@kb244.8m.com</a><br><a href= </a><br>Experienced in , or have messed with : VC++, Borland C++ Builder, VJ++6(starting),VB-Dos, VB1 thru VB6, Delphi 3 pro, Borland C++ 3(DOS), Borland C++ 4.5, HTML, ASP(somewhat), QBasic(least i didnt start with COBOL)
 
um , I think I misread your post (guess yer thinking &quot;no really?&quot;) hehe sorry, I'll see what I can find out <p>Karl<br><a href=mailto:kb244@kb244.8m.com>kb244@kb244.8m.com</a><br><a href= </a><br>Experienced in , or have messed with : VC++, Borland C++ Builder, VJ++6(starting),VB-Dos, VB1 thru VB6, Delphi 3 pro, Borland C++ 3(DOS), Borland C++ 4.5, HTML, ASP(somewhat), QBasic(least i didnt start with COBOL)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top