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

I tried to do as the KB article said. My only problem is that this is a non-visual class. It's in a file named HexValidEmail.DLL. I cannot add the object to a form as an OLEContainer. It does not appear in the Control Type list. I believe (but am not sure) that it doesn't appear because it's non-visual. I tried "Add Control"ing it, but it still doesn't appear.

And I checked each control in the list, so I'm sure they don't just call it "zValid" or something, which may cause me to miss it when looking in the H's.

I'm stumped.

- 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
Reply
Map
View

Click here to load this message in the networking platform