Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Playing AVI file within exe
Message
 
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Oracle
Miscellaneous
Thread ID:
01242226
Message ID:
01242356
Views:
15
>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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform