Click here to Skip to main content
13,090,170 members (56,826 online)
Click here to Skip to main content
Add your own
alternative version


32 bookmarked
Posted 11 Mar 2002

How to develop Internet Explorer Object and a problem regarding to MS Windows system failure

, 18 Jun 2002
Rate this:
Please Sign up or sign in to vote.
The article on how to use BHO dealing with Windows/Internet Explorer.


The features

This article gives out a sample showing how to develop Browser Helper Objects/Internet Explorer Object and how to deal with IWebBrowser2.

This sample, IEGuard, has the similar functionality of Microsoft Internet Explorer's Options / Content Advisor/Approved Sites. It can real time monitor the Internet Explorer web browse activities, and only those allowed web sites can be visited and other web navigation will be stopped. A tool, IEGuardMan, is given with this sample to set up the job criteria of IEGuard.

IEGuard can easily be updated to the software for MS Internet Explorer Web activities, monitoring and tracking.

The Problem on making Windows/Internet Explorer failure.

In IEGuard, a lockout test is given to test the way to disable Windows Explorer/Internet Explorer. When lockout test is processing, all activities related to Windows Explorer and MS Internet Explorer are locked out and Windows system is functionally failed partially.

In the worst case that Lockout flag is enabled, IEGuardMan is closed and you can run the batch file restoreOS.bat or command file restoreOS.cmd, which are given within the sample code, in MS-DOS Prompt/Command Prompt to un-register the IEGuard component from system and restore Windows functionality.

Microsoft ties Windows Explorer and Internet Explorer together with IWebBrowser2, it also give a way for the potential virus to attack to Windows system by canceling all IWebBrowser2 instances when those IWebBrowser2 objects are instantiated like the Lockout test in IEguard did. It is a bad derivative of IWebBrowser2.

Reference and technical detail about BHO.

For more information about BHO, you can get it from Dino Esposito's article "Browser Helper Objects: The Browser the Way You Want It" in MSDN.

The primary purpose about this article.

IWebBrowser2 has been a key technology in MS Windows system, so

  1. I hope Microsoft can pay attention on the problem of the hole of IWebBrowser2 pointed out in this article.
  2. Or otherwise, somebody can develop a MS Windows “Predator” program (or you can say it as "Virus") to squash the Windows system by borrowing the idea in this article. That would be the best prize for this article.


This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


About the Author

Zhaohui Xing
United States United States
No Biography provided

You may also be interested in...


Comments and Discussions

GeneralSecurity Alert: MonitoringTool:Win32/Csysserv Pin
Andrew Muliar11-Aug-10 22:51
memberAndrew Muliar11-Aug-10 22:51 
GeneralRe: Security Alert: MonitoringTool:Win32/Csysserv Pin
firehawk31-Aug-14 9:20
memberfirehawk31-Aug-14 9:20 
QuestionBHO Hooks Never Called ? Pin
joelparker6-Nov-08 14:55
memberjoelparker6-Nov-08 14:55 
Generalwhere to find the original code Pin
rajeev_geom12-Mar-06 20:55
memberrajeev_geom12-Mar-06 20:55 
GeneralMore coments will be apreciated Pin
cata_10002-Feb-04 4:08
membercata_10002-Feb-04 4:08 
GeneralHelp me! it troubled me too long........ Pin
mywe9-Jan-04 6:28
membermywe9-Jan-04 6:28 
Generalfilter based on context Pin
yofnik28-May-03 3:41
memberyofnik28-May-03 3:41 
Generaldll compiled using the source cannot reguster in win9x system Pin
seewan12-Feb-03 15:55
memberseewan12-Feb-03 15:55 
GeneralRe: dll compiled using the source cannot reguster in win9x system Pin
Andy Patterson21-Nov-03 1:25
memberAndy Patterson21-Nov-03 1:25 
Questionhow get list of users login on the LAN sever? Pin
great7-Aug-02 19:31
membergreat7-Aug-02 19:31 
GeneralFlawed Pin
Anonymous22-Jun-02 9:31
memberAnonymous22-Jun-02 9:31 
GeneralI have no clue.. Pin
Anonymous22-Mar-02 4:12
memberAnonymous22-Mar-02 4:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.170813.1 | Last Updated 19 Jun 2002
Article Copyright 2002 by Zhaohui Xing
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid