Sign in to follow this  
Followers 0
pseakins

Msgbox - disable sound

3 posts in this topic

How can I prevent MsgBox() from making my speaker go "bonk"? There doesn't appear to be a silent option. Changing the Windoze systems sounds is not an option, what if I develop code for someone else's system - I don't want my application making annoying system sounds when all I want to do is pop up a message box - silently.


Phil Seakins

Share this post


Link to post
Share on other sites



How can I prevent MsgBox() from making my speaker go "bonk"? There doesn't appear to be a silent option. Changing the Windoze systems sounds is not an option, what if I develop code for someone else's system - I don't want my application making annoying system sounds when all I want to do is pop up a message box - silently.

You might also want to check out my MsgBoxSound UDF http://www.autoitscript.com/forum/index.ph...st&p=387023

It does change the Windows Sound, but then changes it back right after the message box is cleared. You can set custom sounds or no sounds.

You could also always make a custom GUI to use instead of the standard msgbox function.

There's a function like that included here: http://www.autoitscript.com/forum/index.ph...st&p=111189

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0