Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Gif89 or activeX
Message
 
À
04/07/2001 14:24:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Photos et traitement d'images
Divers
Thread ID:
00526075
Message ID:
00530533
Vues:
25
>Hi Alexander
>> If you asking about animated GIF, then use AddObject method to add ActiveX control to _SCREEN object.
>
>Yes that what i am looking for, but i dont know how to write in code ...
>I often use form builder, maybe can u show me some sample ???
>
>T.I.A
>
>Patrick

Sorry for jumping in here over a week later, but if you are trying to add the animated GIF89 ActiveX control (from GIF89.DLL) to _SCREEN, in my Visual FoxPro 6.0 it generated an error, "Object class is invalid for this container."

It appears that it does not work for the _SCREEN object.

Here is the VFP code that I tested it with:
* This will generate an error.
_SCREEN.ADDOBJECT("oleGif","oleControl","GIF89.GIF89.1")

* This, however, works fine.
loForm = CREATEOBJECT("form")
loForm.ADDOBJECT("oleGif","oleControl","GIF89.GIF89.1")
Hope this helps,
-Lou.
"All my life I said I wanted to be someone ...
I can see now that I should have been more specific." -Jane Wagner
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform