Hi all,
Use this code to play wav files in Background.
Declarations:
Code to Play Sound
Regards
>> ALI <<
Use this code to play wav files in Background.
Declarations:
Code:
Private Declare Function sndPlaySound& Lib "winmm.dll" Alias _ "sndPlaySoundA" (ByVal lpszSoundName As String, ByVal uFlags As Long) Const SND_SYNC = &H0 Const SND_ASYNC = &H1 Const SND_NODEFAULT = &H2 Const SND_LOOP = &H8 Const SND_NOSTOP = &H10
Code:
sndPlaySound "Sound Path", SND_ASYNC Or SND_NODEFAULT
>> ALI <<