Results 1 to 2 of 2

Thread: uh oh

  1. #1
    t420h
    Guest

    uh oh

    i know this is a dunb question but whats the code to stop an audio file whilke its playing? i.e whena commad button is hit?

  2. #2
    Fanatic Member Patoooey's Avatar
    Join Date
    Aug 2001
    Location
    New Jersey, USA
    Posts
    774
    Uhmmmm.....what method are you using to play the audio file to begin with ???

    If your using the PlaySound API function, then "PlaySound vbNull, ByVal 0&, SND_PURGE" stops the sound.

    If your using MMControl then, MMControl1.Command = "stop" works.

    Obviously a 3rd-party control would require reading the documentation.

    More information is needed.

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