Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Control Windows Media Play through VFP6+

Status
Not open for further replies.

Goulden

Programmer
Nov 29, 2001
6
US
I'm looking for documentation on how to control Windows Media Player through VFP 6+.

Thank you!
 
after noon,

Do you specifically want to run Media player (because shellex is the way) or play movies/music?

monkey
 
What I would like to do is capture streaming audio off the Internet programmatically. I would want to schedule a job to launch at a specific time, connect to the website, start the streaming and then capture it to a file. I don't think I'm asking for much... :)

Thank you.
 
Using the Object Browser in VFP 7.0/8.0, shows that the Media Play has a very large and diverse object model. Perhaps you could tell us specifically what you want to do and a simple example could be provided.

Have you done any searching in the MSDN KnowledgeBase?
( There are many HOWTO: documents, and the differences in using COM between Access, VB and VFP are usually very minimal.

Rick
 
evening

I know this probably may not be much help - but here's what we did when we needed to record phonecalls (call centre environment).

The phone system used tapi and when a call was taken, tapi returned a value - we looked for that value and started our recording. The recording was done using some VB code we found on the net (sorry can't remember where - was 6 months ago and a different company) & made into a an OCX which was called from VFP.

I guess in your case, when the streaming starts/connection is made Media player or will return something. You could look for the VB code & create the ocx (or there may be freeware ones out there), then use the OCX to perform the recording.

We had some success using Sound recorder but that only records a minute of sound - so you may not want to explore that.

monkey

If you get anywhere - post the answer - i'm intrigued
 
Thanks again Monkey. If I ever get this thing all figured out I'll be happy to share.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top