3
Contributors
4
Replies
13
Views
10 Years
Discussion Span
Last Post by plusplus
2

use Microsoft Multimedia Control. find this control on component.
add this code to play mp3 file :

On Error GoTo ErrMsg
AxMMControl1.Wait = True
AxMMControl1.FileName = OpenFileDialog1.FileName
AxMMControl1.Command = "Open"
AxMMControl1.Command = "Play"
Exit Sub
ErrMsg:
     MsgBox(Err.Description)
End Sub
Votes + Comments
uhuy
thx
0

I don't know if anyone looks at an old thread, but I have a question for this. I used the multimedia control, and it worked great. But when installing my project, it did not work on all computers. (When trying to run it on some computers, it said, there was a problem, and it shut down the program) What could be the reason for this? Do you need anything installed on the computer to use this?

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.