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

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

VB Code To Block Bad Websites

Reply to Message Icon

Name: NarrowPathPilgrim
Date: November 23, 2004 at 13:51:04 Pacific
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



Sponsored Link
Ads by Google

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

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


0

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

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


0

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

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


0

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

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"


0

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

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?


0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: VB Code To Block Bad Websites

VB Code To Disable CD Drive www.computing.net/answers/programming/vb-code-to-disable-cd-drive/11665.html

Code vb exe to start at startup. www.computing.net/answers/programming/code-vb-exe-to-start-at-startup/16207.html

VB code help www.computing.net/answers/programming/vb-code-help/12893.html