How to disable navigation sound in webbrowser control

User kill211 does not like the click sound when he calls WebBrowser.Navigate. He wonders if there is a way to disable it without modifying HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Explorer\Navigating, which has effect on other applications.

Unfortunately, the API for disabling sound is introduced in IE7. The FEATURE_DISABLE_NAVIGATION_SOUNDS feature can be toggled using registry or the CoInternetSetFeatureEnabled API.

Update: A good news is that in IE9 beta, the navigating sound is disabled by default. It helps the users who want to listen to music while navigating. For the visual impaired users, the sound can be turned on in accessibility options.

The PlaySound API is still available for the users who want to play the click sound themselves, I am not sure why it could be useful though.

Black history: some old theme software overwrites the start.wav file instead of changing the click sound file name in HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Explorer\Navigating. This can cause IE6 to hang. (The IE team call the article “Internet Explorer Navigation Sound Update”, which seems to follow the tradition of choosing confusing article titles such as WebApp.exe Enables User to Move WebBrowser Ctrl for an code example that enable navigating to folders in the webbrowser control)


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.