Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Playing AVI file within exe
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Photos et traitement d'images
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Oracle
Divers
Thread ID:
01242226
Message ID:
01242356
Vues:
16
>It seem that there is no other way than extracting the AVI file from the EXE.
>
>Someone from another forum suggested that I use the PictClip control instead. I will try to find a Sample code for this implementation.
>
>If it doesn't work, will implement the extraction in a temporary folder.
>
>Thanks you all.

>>Check also Re: Playing a AVI Thread #678213 Message #678970

Thanks Naomi, I've implement your code and Sergei's
IF STRTOFILE(FILETOSTR(lcAnimation),ADDBS(SYS(2023))+lcAnimation) > 0
        .Animation.Open(ADDBS(SYS(2023))+lcAnimation)
	_VFP.AutoYield = .T.
	.Animation.Autoplay = tlAutoplay
	.Refresh()
ENDIF
Works fine in development. I will deploy it and run it on the production system to see if user really have a temp folder alvailable to them.

Regards.
Luc Nadeau
lnadeau@neova.ca

"the theory, it is when all is known and that nothing works. The practice, it is when all works and that nobody knows why." - Albert Einstein (Nobel of physique 1921)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform