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
 
Top