>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 #
678970Thanks 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)