Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Distributing an iClassFactory2 control
Message
From
15/11/2001 14:42:23
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00582111
Message ID:
00582299
Views:
14
Larry -

Some more info --

The code I use to instantiate the object is:
LOCAL loHex AS 'HexValidEmail.Connection'
loHex = CREATEOBJECT('HexValidEmail.Connection')
=messagebox(ALLTRIM(STR(loHex.Error)) + ALLTRIM(STR(loHex.LicensedProcessors)))
It's from http://www.Hexillion.com (their HexGadgets)

- George

>>Hello, all.
>>
>>We have bought an eMail address validator object which utilizes a licensing scheme using the IClassFactory2 mechanism that is implemented by most existing licensed controls.
>>
>>We wish to distribute this control with our VFP7 .EXE's. When I run InstallShield Express for VFP, I don't see where I can add the object to the installation. The developer of the control said that:
>>
I am not terribly familiar with FoxPro, so I'm not sure if it will do
>>the same thing. You would certainly need to use HexValidEmail with
>>early binding. Looking at the FoxPro docs, it appears it only
>>supports early binding as of version 7. Even then, I don't know if it
>>will use the standard COM licensing mechanism. You may just have to
>>try it and see. You can tell that HexValidEmail is using a runtime
>>key when the Error property and LicensedProcessors properties are
>>both 0 after creating an instance.
>>
>>Anyone have any ideas on how to accomplish this?
>>
>
>George,
>See MSKB#Q139154. You will probably have to embed the ActiveX control on a form or subclass it. The run-time license information will be embedded in the form/class and used when VFP creates an instance of the control at run-time.
>
>HTH.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform