>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.