What would the syntax be to call my default media player ie Winamp, Itunes, or Windows Media player. Like calling
I have
I want to replace c:\Program Files... with whatever the syntax is to call the default media player.
Code:
%System Root%
I have
Code:
Private Sub Command739_Click()
On Error GoTo Err_Command739_Click
Dim stAppName As String
stAppName = "C:\Program Files\Windows Media Player\wmplayer.exe \\DOKKEN\H\DONOTDELETE.WAV"
Call Shell(stAppName, 1)
Exit_Command739_Click:
Exit Sub
Err_Command739_Click:
MsgBox Err.Description
Resume Exit_Command739_Click
End Sub
I want to replace c:\Program Files... with whatever the syntax is to call the default media player.