Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP6 & .Avi files...
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00143425
Message ID:
00144052
Views:
36
I'm 100% positive I haven't set ANYTHING else. I tried doing what you did, using a command button - same problem. I've tried it with the MS Animation control Version 6 and Version 5 sp2 - same problem with both. I'm running Win98 and have all the latest media players and junk. I've tried several .avi files, and like I said, they play with the windows media player. Which MS Animation control are you using? Are you in Win98? AAAAhhhhhhh....just shoot me now.

>I just created a test form, that had the MS Animation control, and a button that contained the following in the click event:
>
thisform.ocxAVI.AutoPlay = .t.
>thisform.ocxAVI.Open(getfile())
>It ran with no problems. Are you setting anything else? Using the control's property sheet?
>
>Well, closer I guess, at least it doesn't crash VFP6!!
>>
>>When the ThisForm.ocxAVI.OPEN("xxx.avi") runs I get an error saying "OLE IDispatch exception code 0 from Animation: Unable to open AVI file.."
>>
>>I tried it with several different .AVI files, and they DO run with the media player. Any ideas?
>
ICQ 10556 (ya), 254117
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform