How do i get a .wav sound to play, I've tried this:

In the general declarations:
Private Const SND_ASYNC = &H1
Private Const SND_NODEFAULT = &H1
Private Declare Function sndPlaySound Lib "winmm.dll" Alias "sndPlaySoundA" (ByVal lpszSoundName As String, ByVal uFlags As Long) As Long

and in the form_load:

strWavFile = App.Path & "\mywavfile.wav"
Call sndPlaySound(strWavFile, SND_ASYNC And SND_NODEFAULT)

end it doesn't seem to work. Can anyone help?