Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using WMPlayer.ocx.7
Message
From
26/07/2004 13:30:37
Todd Cottengim
Alpine Land Information Services
Redding, California, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Using WMPlayer.ocx.7
Miscellaneous
Thread ID:
00927989
Message ID:
00927989
Views:
251
I had hoped this would be a "slam dunk" or that I could find sample code. Neither has proved to be true.

I have need to play MPG files in a VFP8 app. Steps taken so far...
1. Create a form with the WMPlayer.ocx.7 control on it.
2. Start the form using "DO FORM test NAME aaa".
3. Issue the command "aaa.oleMediaPlayer.url = 'c:\test.xx.mpg'".

The media player shows "Playing" and the timer (lower right corner) runs, but no video is displayed and the thumb does not move. The same video plays fine in Media Player when I double click the file.

Any help, code or a pointer to other threads, is greatly appreceiated.
Next
Reply
Map
View

Click here to load this message in the networking platform