Tag Archives: Internet Explorer

Howto: Ignoring web browser certificate errors in a webbrowser host

The webbrowser queries host services via IServiceProvider implemented on the ActiveX host. One of the services is IHttpSecurity, which can be used to override the certificate problem dialog. Security warning: ignoring security problems can compromise your application. IHttpSecurity is derived from IWindowForBindingUI, … Continue reading

Rate this:

Posted in C#, MFC, Microsoft, Visual Studio, Webbrowser control | Tagged , , , , , | 15 Comments

Where is the forum for Internet Explorer?

People get confused by various Microsoft IE forum sites so here is the steps to find the forum closer to IE related questions Basically, the mentality of different Microsoft forum brand is: MSDN: How can my software do something on … Continue reading

Rate this:

Posted in Uncategorized | Tagged , | Leave a comment

How to force popup window to navigate in the same window in a webbrowser control

When clicking on an link that targets a new window,  the default behavior of a webbrowser control host application is to open a new window in Internet Explorer. User ben_lai wants to know how to handle the click and navigate … Continue reading

Rate this:

Posted in enmsdn, Microsoft, Visual C++, Visual Studio, Webbrowser control | Tagged , , , , , , , | 3 Comments

Make the webbrowser control styled the same way as the hosting application

User wtx_sonery wants to know whether it is possible to style the webbrowser control with the rest of the application. The answer is yes, you can implement IDocHostUIHandler’s GetHostInfo method and return DOCHOSTUIFLAG_THEME in the host flags. IDocHostUIHandler is already … Continue reading

Rate this:

Posted in Active Template Library, enmsdn, Microsoft, Microsoft Foundation Class Library, Visual C++ | Tagged , , , , , , , , , , , , | Leave a comment

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 … Continue reading

Rate this:

Posted in enmsdn, Microsoft, Visual C++ | Tagged , , , , , , , , | Leave a comment

Walkaround for Error : An add-on for this website failed to run. When opening Visual C++’s Add Variable Wizard after IE 8 is installed

Update: it looks like a lot of people are hitting this page by mistake. If you don’t write software for a living then this page is probably not for you. Download: https://jiangsheng.net/Documents/IE8AddZone.zip Prerequisite: Microsoft Visual C++ 2005 SP1 Redistributable Package … Continue reading

Rate this:

Posted in enmsdn, Microsoft, Visual C++, Visual Studio | Tagged , , , , , , , , | 1 Comment