There are 3 ways you could do it--each having a different level of complexity.
1. Use the shell function to launch your MP3 with Window's mplayer or mplayer2.
Code:
Shell ("mplayer.exe /play C:\your.mp3", vbMinimizedNoFocus)
2. Add the MS Multimedia control to a form.
Code:
MMControl1.Wait = True
MMControl1.FileName = "C:\your.mp3"
MMControl1.Command = "Open"
3. Make direct use of the Window's multimedia API calls.
Code:
Private Declare Function mciExecute Lib "winmm.dll" (ByVal lpstrCommand As String) As Long
Private Sub Command1_Click()
mciExecute ("play c:\your.mp3")
End Sub
Gerald M.
[This message has been edited by Gerald (edited 12-15-1999).]