I have this wave file play when a certain time has elapsed. The wave file lasts over one minute. During that time, the application is locked up.
I initially thought of "Do Events", but, alas, that doesn't apply since there's no loop involved, it's just a line of code:
Is there any way to suspend the wave file once it gets going?
Similar, but different:Is there any way to free up the application while the wave file is playing so if I wanted to loop it to make it play indefinitely I could? Then I could use "Do Events" to set the value of a variable so that when it looped around it could check the variable value and then bypass the wave file?
Thanks for your help.
Mike Kemp
kempmike65@aol.com
I initially thought of "Do Events", but, alas, that doesn't apply since there's no loop involved, it's just a line of code:
Code:
WavFileName = "c:\mywavefile.wav"
x = sndPlaySound(WavFileName, &H0)
Similar, but different:Is there any way to free up the application while the wave file is playing so if I wanted to loop it to make it play indefinitely I could? Then I could use "Do Events" to set the value of a variable so that when it looped around it could check the variable value and then bypass the wave file?
Thanks for your help.
Mike Kemp
kempmike65@aol.com