janca

Hi,

I am trying to suppress IE sounds occuring when navigation is complete (I use an ActiveX browser control). To achieve this, I am using the CoInternetSetFeatureEnabled function. It works fine with the SET_FEATURE_ON_PROCESS flag, but as it disables any sounds in case of each browser control amongst the application, it would be better to use a more specific solution, so SET_FEATURE_ON_THREAD (or SET_FEATURE_ON_THREAD_LOCALMACHINE) comes into consideration.

I called it right before calling the Navigate method of the browser control. Although the return value is S_OK, the click sound remains... there are not so many sources on the web on this topic (yet )..

Could someone please help me with solving this



Re: Internet Explorer Extension Development IE7 disabling navigation sounds by thread

John Sudds - MSFT

As it is currently written, you can only set FEATURE_DISABLE_NAVIGATION_SOUNDS on the process level.

It's not elegant, but you can try to disable sounds during the BeforeNavigate2 event, and reenable them on NavigateComplete2.






Re: Internet Explorer Extension Development IE7 disabling navigation sounds by thread

janca

Thank you for the help. I thought this feature is quite new in IE, so it can be partially implemented, and it turns out I was right, so can calm down.. Smile What I considered was possible future extensions on our software requiring the IE sounds, thus producing development difficulties, and your suggestion will help us when it comes to that. Hopefully it will help many others, too.



Re: Internet Explorer Extension Development IE7 disabling navigation sounds by thread

Florencio Mazzoldi

Do you guys know if there is any way of preventing ALL sounds from a web browser control I am interested not only in the navigation sounds, but in the background sounds and flash movies as well.