Im using the following, which I got here, to play sound:
VB Code:
Private Declare Function sndPlaySound Lib "winmm.dll" Alias "sndPlaySoundA" _ (ByVal lpszSoundName As String, ByVal uFlags As Long) As Long Private Const SND_ASYNC = &H1 Private Const SND_NODEFAULT = &H2 sndPlaySound "C:\Temp.wav", SND_ASYNC Or SND_NODEFAULT
my question is simple.. how do you stop the sound once it has started. Surprising that no one included this in many of the posts I have looked for here regarding this...
thanks
sac




Reply With Quote