PDA

Click to See Complete Forum and Search --> : MPLAYER Control?


scotty85_2000
Feb 12th, 2001, 12:58 PM
How do I play an MP3 file thru the media player control in VB5? I inserted the control, picked the path of the mp3 and went run but nothing happened... All the buttons are greyed out...

How do I play the file once automatically so i can hide the control on the form?

Cheers...

CyberCarsten
Feb 12th, 2001, 03:22 PM
You'll ned to instruct the media player by code....I'll dig something up for you! :)

CyberCarsten
Feb 12th, 2001, 03:29 PM
This worked for me:

MediaPlayer1.filename = "C:\AnyMp3.mp3"

scotty85_2000
Feb 13th, 2001, 01:15 PM
cheers carsten i'll try that

CyberCarsten
Feb 14th, 2001, 07:14 AM
You're welcome! :)