Click here to Skip to main content
15,395,181 members
Articles / Desktop Programming / ATL
Posted 11 Mar 2002


32 bookmarked

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

Rate me:
Please Sign up or sign in to vote.
3.09/5 (8 votes)
18 Jun 2002CPOL2 min read
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.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

No Biography provided

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
Member 5969369-Jan-04 6:28
MemberMember 5969369-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
Omar Lodhi7-Aug-02 19:31
MemberOmar Lodhi7-Aug-02 19:31 
Dear All,

i want to get list of users currently loign on the LAN server.
and must be informed when a user loginout. how can i do
this plz guide me.


dfdf dfd
GeneralFlawed Pin
22-Jun-02 9:31
suss22-Jun-02 9:31 
GeneralI have no clue.. Pin
22-Mar-02 4:12
suss22-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.