Tag: Web browser
-
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, so the host needs to implement it too. In Windows forms, customizing certificate error handling…
-
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 to the same window. There are three events that notifies a new window, NewWindow (The…