Detecting the actual playing or NOT playing of a WAV file

B

Bajbaj

Hi all,

I would like to know a way how to detect the actual playing or not-
playing of WAV-files in VBA (and VB).
Suppose that a certain WAV-file is playing (with the help of the
PlaySound function) and I want to detect the termination of the WAV
playing sound... How?
I would like to use this function in a DoWhile or an Untill-loop to
continue the rest of the program.

Does anybody have a suggestion?


Thanks in advance,

Bajbaj
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top