Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ActiveMovie - Can't Anybody Help (Please)
Message
 
To
21/04/1999 09:40:47
Paul Frost
Instem Computer Systems Ltd
Stone, United Kingdom
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00210506
Message ID:
00211735
Views:
34
>Repeat of yesterdays message - in the hope that somebody may be able to help (I've looked at the MS site for ActiveMovie, but its only of help for VC & VB).
>
>
>I want to dynamically add Active Movie controls to a form using addobject( "obj1", "AMObjClass", "AMOVIE.ActiveMovie Control.1" ) command. (AMObjClass is suitably defined).
>
>This works (sort of - I get the control panels but the display screen is small) & I can turn control displays on & off, but I get various OLE errors when I try to run the movie (thisform.obj1.run) or perform some other actions.
>
>I guess I'm missing something somewhere, can anybody direct me to any demos/docs that would help.
>
>With thanks
>Paul Frost

The ActiveMovie control will give an error if you invoke the Run method too quickly after setting the FileName property. It needs a few seconds to load the file before it will run correctly.

The control does have problems with errors whern using some of the properties from VFP. Autostart can't be set through the property sheet or at runtime.

If you don't need MPEG or WAV support but just AVI, the MS Animation control is a little friendlier. However, it has its own quirks. You can't use the Play method from VFP5 but the AutoPlay property works.

See the August 98 issue of FoxPro Advisor for an article on these two controls
Steve Ruhl
CitiMortgage, Inc.
steven.ruhl@citibank.com Office
Steve@steven-ruhl.com Home
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform