Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Clock, hourglass, or other visual wait display
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00608057
Message ID:
00612133
Views:
43
This message has been marked as a message which has helped to the initial question of the thread.
>I'm adding an instance of the class at runtime in code. It's not dropped on a form. The modemupload.avi is added to the project. The line that bombs during runtime on a client is:
>
>This.AddObject("oleAnimation", "oleControl", "MsComCtl2.Animation.2")
>
>It is the in load event when I debug it.
>
>Here is my code that works on my development machine in w2k (I also have vfpcom installed and more since it is my development machine and that makes it hard to determine what is missing on the client when installed):
>
Tracy,

I thought it was something like that. In order to do this the client machine needs the design time license. Since that's not present when you manually register the control (you're actually registering a run-time license), you get the error. This is documented in MSKB#Q192693. What it comes down to is that you can't use AddObject() or programmatically instatiate some ActiveX controls.
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform