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?
Printable View
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?
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.