>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