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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using Window Media player in VB

Status
Not open for further replies.

Loggerhead2000

Programmer
Mar 23, 2003
11
US
I'm trying to use Window Media player in vb to Play MP3/Wav files. I've been to MSDN an looked for info on it but I could not seem to find any. Any info to other site or resources would be great help

Thanx Timmeh
 
Just go to Project|Components|Windows Media Player and check the box.
Add the control to your form.
Set the MediaPlayer filename property to the file you want to play

That will get you started

Any more questions - come back!
________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first

'People who live in windowed environments shouldn't cast pointers.'
 
Johnwm,
I was more looking for it properties so I could figure out how to use it in code like:

MediaPlayer.open = "C:\filename.mp3"
MediaPlayer.command = "play"

I was trying to get more information on how to use it in code, guess I'll have to play with it till I get it

Thanks Timmeh
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top