Disabling System Sound Alerts for MessageBoxes
-
Hi, Is there any way of Disabling System Sounds (during the lifetime of my Application) which we hear when we Show Messageboxes like Critical, Exclamation, Information, Error etc. I dont want all these as long as my App is Running. Any Thoughts?? Thanks..
-
Hi, Is there any way of Disabling System Sounds (during the lifetime of my Application) which we hear when we Show Messageboxes like Critical, Exclamation, Information, Error etc. I dont want all these as long as my App is Running. Any Thoughts?? Thanks..
Hi, I guess you will have to use follwing in your application. [DllImport("User32.dll", ExactSpelling=true)] private static extern bool MessageBeep(uint type); play what ever sound you want to play.
Regards :rose:, Nishu
-
Hi, I guess you will have to use follwing in your application. [DllImport("User32.dll", ExactSpelling=true)] private static extern bool MessageBeep(uint type); play what ever sound you want to play.
Regards :rose:, Nishu
Thanks Nisssshhhhhhuuuu :-) But I want that there should be no sounds played even when My App shows an Error, Exclamation, Info MessageBox.