Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to play animation on a form(ie. .avi files)?
Message
From
28/07/1998 17:51:45
 
 
To
28/07/1998 17:42:57
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00122127
Message ID:
00122128
Views:
18
>Hi,
> Is there any way of playing AVI files on a form?
>How to keep them playing and how to stop them?
>
>I appreciate ur help.
>
>Thanks
>Puri Malluru

You can use the MS animation control (activeX). Create form, add ole control, select 'insert control', select MS animation control. In form's init put:
This.OleControl.Autoplay = .t.
This.OleControl.Open('avifile.avi')
Then in your programs do:
Do Form myavifrm Name oAvi
.. some code..
oAvi.Release
HTH
Previous
Reply
Map
View

Click here to load this message in the networking platform