Check if System Sounds are OFF or ON in vb.net. RRS feed

  • Question

  • I've a vb.net application which has a button; when I click the button it should display a message stating whether the system sounds are on or off.
    How do I do it?
    By System sounds I mean the sounds played by the system such as "Asterisk", "hand" etc. These sounds usually occur when a message box pops up. These sounds can be turned off or on in the volume mixer. I want my application to on the click of a button show a message "System sounds are ON" or "... OFF" as a result of system sounds beings turned on or off in the volume mixer.

    Friday, June 5, 2020 6:52 AM

All replies

  • Read the registry value at :


    (.None if no sounds)

    Friday, June 5, 2020 7:26 AM
  • This would work only if you have or don't have a sound scheme set. And doesn't work when I turn OFF or ON the system sounds from the volume mixer.
    Friday, June 5, 2020 8:03 AM
  • What do you mean by "from the volume mixer" ?

    I tested on Windows 10 (french) and when I change it with this panel, it changes to .None in registry  :

    Friday, June 5, 2020 9:57 AM