Results 1 to 7 of 7

Thread: Stop Sound Now! (Resolved)

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member Sacofjoea's Avatar
    Join Date
    May 2000
    Location
    Never Never Land
    Posts
    472

    Stop Sound Now! (Resolved)

    Im using the following, which I got here, to play sound:

    VB Code:
    1. Private Declare Function sndPlaySound Lib "winmm.dll" Alias "sndPlaySoundA" _
    2.     (ByVal lpszSoundName As String, ByVal uFlags As Long) As Long
    3.    
    4. Private Const SND_ASYNC = &H1
    5. Private Const SND_NODEFAULT = &H2
    6.  
    7. 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
    Last edited by Sacofjoea; Oct 7th, 2002 at 04:51 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width