Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Playing AVI file within exe
Message
From
20/07/2007 00:32:57
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
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:
01242230
Views:
22
This message has been marked as a message which has helped to the initial question of the thread.
>For a while I've been using the MSComCtl2.Animation.2 activeX to display AVI animation.
>
>When I used the Open() Method of the control I always specify a filename and it works fine.
>
>Lately I had to deploy a single EXE and include all AVI file in the EXE.
>
>
>I'm not able the tell the Open() method to look within the EXE file.
>
>As opposed to Command Button, if the BMP image is include in the EXE file it will find it and display correctly
>
>
>Is there a way to tell the MSComCtl2.Animation.2 control to use a file that is contain in the EXE instead of on disk???

I wouldn't think so, the control is not a part of VFP engine and doesn't know jack about VFP's internal filesystem-within-exe.

You should be able to copy the avi file out (under a different name) and play that, then erase when done.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform