Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Playing AVI instead of thermometer?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00121876
Message ID:
00122220
Views:
20
>>Hi all,
>>
>>I read a short article in the FP advisor lately about using an AVI to show that work is being done. It sounds like a good idea to me, and I was wondering if anyone has made such a widget. I looked at the solutions sample already, but was just wondering if there was any home grown variations for this idea. I would be interested in seeing them or atleast hearing how they were put together.
>>
>>Thanks!
>>
>>John.
>
>It's pretty straightforward. Create new form, add ole control, specify 'insert control' MS animation control. In the init include:
>
This.Olecontrol.autoplay=.t.
>This.Olecontrol.Open('myavi.avi')
>Great for remote views where there's no easy way of displaying a progress bar. Just put your animation form up at the start of your code and release it at the end with:
>
Do Form myavifrm Name oAvi
>... Your code goes here..
>oAvi.Release
>Trick is to size your form to AVI's size. Maybe someone else has something to calculate AVI size so you could create a form that you can pass any AVI file.HTH

I don't seem to have that activex control registered yet. The only one that I am seeing that closely resembles the one you mentioned is the (anibutton control). IS this the correct control or do I need to register another OCX that would contain the MS Animation control?

Thanks,

John.
Previous
Reply
Map
View

Click here to load this message in the networking platform