1. Insert Microsoft Multimedia Control.
2. Open Coding of command butt on.
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
Private Sub Command1_Click()
MMControl1.FileName = "Filepath.mp3"
MMControl1.Command = "open"
MMControl1.Command = "play"
End sub
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
3. Run Project and click on command button Your sound will play.


For more information please contact:- SNIP

Nice work

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.