Web Browser Control, block web sites

skydiver

New member
Joined
Jun 21, 2006
Messages
3
Programming Experience
5-10
I have a windows form that incorporates a web browser control (vb.net, vs2008) where I'm doing some screen scraping, etc. and I'd like to block certain websites that are appearing in advertisements, etc. I've looked online and I haven't found anything that doesn't incorporate mshtml.dll and similar stuff. I've never worked with these and I believe there should be a way to do this without resorting to including additional dlls. Thoughts?

Also, would blocking these unwanted domains speed up page return, or do I get all the info, then the web browser control simply shows those domains/ips that I allow?

Any help is appreciated!

Thanks.
 
I doubt that there is an easier way. The WebBrowser control is not intended to be a fully featured application on its own. There is no managed API for a lot of the low-level stuff.
 
Back
Top