zammo
asked on
Change the File MediaPLayer is playing
I have on my Form a OpenDialog and a MediaPlayer.
I want the media player to playa WAV file choosen from the opendialog. Once I have the filename i do,
Mediaplayer.filename := OpenDialog.filename;
then MediaPLayer.play, but this doesnt work....
It doesnt play any file....
If I Put a filename in MediaPLayer.filename before I compile the progam it will play that file even when I change the Mediaplayer.filename...
What is going on here?
I want the media player to playa WAV file choosen from the opendialog. Once I have the filename i do,
Mediaplayer.filename := OpenDialog.filename;
then MediaPLayer.play, but this doesnt work....
It doesnt play any file....
If I Put a filename in MediaPLayer.filename before I compile the progam it will play that file even when I change the Mediaplayer.filename...
What is going on here?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.