Computing.Net > Forums > Programming > VB Code To Block Bad Websites

VB Code To Block Bad Websites

Reply to Message Icon

Original Message
Name: NarrowPathPilgrim
Date: November 23, 2004 at 13:51:04 Pacific
Subject: VB Code To Block Bad Websites
OS: XP Home
CPU/Ram: 2.53 GH'z 512 MB Ram
Comment:

Hello,
I am new to VB and am trying to make a program that will search all websites that IE/Mozilla loads and look for bad words and then close IE/Mozilla and add the domain name to the hosts file. I don't have a clue how to do this so I need suggestions.

Note, This is to protect children from inappropriate material, it is not to make a virus that blocks antivirus websites.

Zach


Report Offensive Message For Removal


Response Number 1
Name: iamc
Date: November 23, 2004 at 15:48:44 Pacific
Reply: (edit)

There are already a number of programs that do this. Why do you need to start from scratch?


Report Offensive Follow Up For Removal

Response Number 2
Name: NarrowPathPilgrim
Date: November 23, 2004 at 15:53:09 Pacific
Reply: (edit)

Because all the programs that I have seen cost a lot and I am trying to make one that I can release as freeware


Report Offensive Follow Up For Removal

Response Number 3
Name: iamc
Date: November 23, 2004 at 16:03:23 Pacific
Reply: (edit)

I see. Noble effort, I suppose. I can't help you, but I wish you luck.


Report Offensive Follow Up For Removal

Response Number 4
Name: Chi Happens
Date: November 24, 2004 at 05:54:10 Pacific
Reply: (edit)

What you may want to do is make a toolbar for IE/netscape. I don't know if it is possible in vb, but you can do it in c++ and possibly any flavor of .NET (vb, c++, c#, asm, j++...)


also, you could create your own webbrowser in vb6 (by imbedding IE into your app) and then you have complete control over everything. (in fact you could replace images that come from specific domains or have specific alt tags with your own images and/or text with your own text) This is know as using the shuh-doc-ee (shdocvw.dll)

[NOTE: shodocie is available in vb6, borland c++, vc++6 and all flavors of .net as well)

Hope this helps
Chi


"They mostly come at night...mostly"


Report Offensive Follow Up For Removal

Response Number 5
Name: NarrowPathPilgrim
Date: November 26, 2004 at 01:25:06 Pacific
Reply: (edit)

I have been considering making a proxy in VB that would only allow connections from localhost and setting the proxy in the browser as localhost, I could build the filter into the proxy.
Does anyone have an opinion as to the feasibility of this?


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: VB Code To Block Bad Websites

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software




Have you ever used OpenOffice?

Yes, as my main suite.
Yes, occationally.
Yes, but only once.
No, never.


View Results

Poll Finishes In 5 Days.
Discuss in The Lounge