G
Guest
Hi,
Thanks to the forum I can start any wavfile now in my db-solution.
My question is, how do I make it possible for user to stop the music when
user wants to.
My situation:
I have a module called "basPlaySound":
Declare Function apisndPlaySound Lib "winmm" Alias "sndPlaySoundA" _
(ByVal filename As String, ByVal snd_async As Long) As Long
Function PlayStuff(sWavFile As String)
End Function
Function StopStuff(sWavFile As String)
End Function
and two eventprocedures:
Private Sub cmdPlay_Click()
Call PlayStuff (sound.wav)
End Sub
Private Sub cmdStop_Click()
Call StopStuff (sound.wav)
End Sub
Now the cmdPlay procedure works great, but the cmdStop procedure doesn't
work at all (not even an error).
Can anyone please help me on this ?
Thank you in advance !
Greetings
Thanks to the forum I can start any wavfile now in my db-solution.
My question is, how do I make it possible for user to stop the music when
user wants to.
My situation:
I have a module called "basPlaySound":
Declare Function apisndPlaySound Lib "winmm" Alias "sndPlaySoundA" _
(ByVal filename As String, ByVal snd_async As Long) As Long
Function PlayStuff(sWavFile As String)
End Function
Function StopStuff(sWavFile As String)
End Function
and two eventprocedures:
Private Sub cmdPlay_Click()
Call PlayStuff (sound.wav)
End Sub
Private Sub cmdStop_Click()
Call StopStuff (sound.wav)
End Sub
Now the cmdPlay procedure works great, but the cmdStop procedure doesn't
work at all (not even an error).
Can anyone please help me on this ?
Thank you in advance !
Greetings