Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Animated picture in VFP
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00182276
Message ID:
00183093
Vues:
20
>>>>>>>Hi,
>>>>>>>Is possible insert the animated picture in a form ?
>>>>>>>
>>>>>>>Thank you
>>>>>>>
>>>>>>>Ciao - Good bye
>>>>>>>Annibale
>>>>>>>ROME - ITALY
>>>>>>
>>>>>>Annibale, you may use the WebBrowser ActiveX for this,
>>>>>>or some Animated GIF ActiveX
>>>>>>for example from http://www.jcomsoft.com/,
>>>>>>or you can use .AVI file with Microsoft Animation Control.
>>>>>>
>>>>>>Nick
>>>>>
>>>>>Hi Nick,
>>>>>
>>>>>May you post an example of using WebBrowser ActiveX for this.
>>>>>
>>>>>Sincerely, Igor Gelin.
>>>>
>>>>
>>>>For example:
>>>>Place the WebBrowser on the form, and put in its Init()
>>>>
>>>>this.navigate("c:\prg\test\anitest.gif")
>>>>
>>>>If the form crashes, you need to play with the setting of SYS(2333)
>>>>
>>>>Nick
>>>
>>>Hi Nick.
>>>
>>>I tried it out.
>>>
>>>In startup prg I have =Sys(2333). But at runtime I got an Ole Error Code
>>>0x80004005: unspecified error.
>>>
>>>????
>>
>>SYS(2333,0)
>>or
>>SYS(2333,1)
>>?
>>
>>BTW, I was testing on Win95 only.
>
>It is Sys(2333,0).

Igor, try to add NODEFAULT to WebBrowser.Refresh()
I have SYS(2333,0) in form.load() but it sould not matter, it has to be just before you instanciate the control.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform