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:
00183203
Vues:
23
>>>>>>>>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.

Hi Nick,

Now it works fine. Do you know a way to make the background of WebBrowser transparent and remove border?

Sincerely.
Igor Gelin
Database Developer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform