Maybe the address would good too:
http://www.microsoft.com/officedev/articles/sound.htm
Ok Check this article out: It explains how to use the above API Function.
Uhmm it was right in front of me Have to wonder.
Good Luck,
Alan
I think that if you pass some arguments to the winmm.dll using API you can
get it to play the WAV file. There are couple of different ways that you
can choose to do so. I think you can play it sync and async in other words
have your procedure wait until the file is finished playing or it can
proceed on with the code as soon as it has initiated the playing of the
file. There are also API commands where you can loop it through, control
the volume the whole nine yards. I have some code archived somewhere but
not handy right now. If I find it I'll post it. But look around in the
direction that I pointed you in. I am pretty sure of that though.
Can someone please post a way to play a wav in a module.
I am sure there must be some simple way to do this in ACCESS 97, but have
not
found a way. I looked in the knowledge database and found an article
(Q95647)
that tells how to do it in the older versions but not 97.
Thanks
Markus buchman