SAMPLE: IEHelper-Attaching to Internet Explorer 4.0 by Using a Browser Helper Object

In order to attach to a running instance of Internet Explorer 4.0, you can use a "Browser Helper Object." A "Browser Helper Object" is a DLL that will attach itself to every new instance of Internet Explorer 4.0. You can use this feature to gain access to the object model of a particular running instance of Internet Explorer. You can also use this feature to get events from an instance of Internet Explorer 4.0. This article also points to a sample that demonstrates how to implement a Browser Helper Object. Back to the top MORE INFORMATION The following file is […]

Read more

How to stop an ActiveX control from running in Internet Explorer

The CLSID for an ActiveX control is a GUID for that control. You can prevent an ActiveX control from running in Internet Explorer by setting the kill bit so that the control is never called by Internet Explorer when default settings are used. The kill bit is a specific value for the Compatibility Flags DWORD value for the ActiveX control in the registry. This is different from revoking the "safe for scripting" option in an ActiveX control. When the "safe for scripting" option is revoked, Internet Explorer still calls for the control and then prompts you with a warning message […]

Read more

Browser Helper Objects: The Browser the Way You Want It

Introduction Program Customization What Are Browser Helper Objects? The Lifecycle of Helper Objects The IObjectWithSite Interface Writing a Browser Helper Object Detecting Who’s Calling Getting in Touch with WebBrowser Getting Events from the Browser Accessing the Document Object Managing the Code Window Registration of Helper Objects Summary Introduction There are sometimes circumstances in which you need a more or less specialized version of the browser. Sometimes you work around this by developing a completely custom module built on top of the WebBrowser control, complete with buttons, labels, and whatever else the user interface requires. In this case, you’re free to […]

Read more