MsgBox sound

L

LucB

When a MsgBox is displayed, the corresponding Windows system sound (.wav)
will play. How can I link a different sound to the MsgBox without modifying
the Windows sound scheme?
 
K

Ken Snell [MVP]

You can't. It uses the sound waves that you've associted to the default
sound, the critical stop sound, and the exclamation sound.
 
M

Marshall Barton

LucB said:
When a MsgBox is displayed, the corresponding Windows system sound (.wav)
will play. How can I link a different sound to the MsgBox without modifying
the Windows sound scheme?


Like Ken said, not with a standard MsgBox, BUT there's no
reason you can't create your own form to display messages
and provide your own wave files. How to play sounds:

http://www.mvps.org/access/api/api0011.htm
 
Top