` Comment on an Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Add a comment to an Icetips Article

Please add your comments to this article. Please note that you must provide both a name and a valid email address in order for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!

Your Name:  
Email:  
Header text/Subject:  

Please enter your comment in the box below:

Back to article list   Search Articles     Add Comment     Printer friendly     Direct link  

Par2: Auto register OCX template
1998-01-09 -- Bill Knopf
 
Here is the code that I use in my ImageGear control template to auto register the OCX. #IF(%Target32) %OLEControl{Prop:Create}='Gear.GearCtrl.1\!ImageGear OCX-32 license string' IF %OLEControl{'ImageIndex'}<>1 RUN('regsvr32 /s gear32so.ocx') %OLEControl{Prop:Create}='Gear.GearCtrl.1\!ImageGear OCX-32 license string' END #ELSE %OLEControl{Prop:Create}='Gear16.GearCtrl.1\!ImageGear OCX-16 license' IF %OLEControl{'ImageIndex'}<>1 RUN('regsvr /s gear16.ocx') %OLEControl{Prop:Create}='Gear16.GearCtrl.1\!ImageGear OCX-16 license' END #ENDIF


Today is May 1, 2024, 9:28 pm
This article has been viewed 35121 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: