VB Code:
Private Declare Function sndPlaySound Lib "winmm.dll" Alias "sndPlaySoundA" _ (ByVal lpszSoundName As String, ByVal uFlags As Long) As Long Sub PlayWave() fileName = "C:\Windows\Media\MicrosoftSound.Wav" sndPlaySound fileName,0 End Sub
|
Results 1 to 7 of 7
Thread: VB Snippet - Play wav fileThreaded View
|
Click Here to Expand Forum to Full Width |