Help my music doesnt play
IN THE MODULE:
Public strName As String
Declare Function sndPlaySound Lib "winmm.dll" Alias "sndPlaySoundA" (ByVal lpszSoundName As String, ByVal uFlags As Long) As Long
Public Const SND_ASYNC = &H1 ' play asynchronously
IN FORM
Private Sub Cmdhm_Click()
sWavFile = "C:\westwood\gokukame1.wav"
x = sndPlaySound(sWaveFile, SND_ASYNC)
IT DOESNT PLAY, PLEASE HELP
