PDA

View Full Version : How to play a sound when someone closes?


T0Rtur3
06-25-2003, 03:10 PM
Ok, dunno if this is possible or not, but is there a way with ams to play a sound when someone closes the program? I put the sound on the close button but it will only play the full sound if I hold down the button and wait for it to play. I also tried putting play WAV on close and on destroy but the sound won't play. I guess I need a way to delay actually closing and to play the whole sound? Any ideas would be appreciated, and try to keep answers simple as I'm fairly new to this. Thanks /ubbthreads/images/icons/wink.gif

Worm
06-25-2003, 03:20 PM
Are you putting a check in the Play Sychronous for the WAV file?

T0Rtur3
06-25-2003, 03:22 PM
I think I figured it out. I have the close button play the sound then right after that i put a 5 second sleep command, and then the close program command. seems to work. Sorry for wasting forum space /ubbthreads/images/icons/tongue.gif