what about a 2 pass procedure?
u load the html page using webclient, then you can remove all the unwanted
tags , then you load the code into a webbrowser control
That will only work with pure-HTML. Think of a page that should
retrieve images or any visual content dynamically, that is, while page
is open, using some script. At that time, newer content than the
loaded content (content, whose img tags are removed) will bring
images. Worse, there may be other elements in document such as links
which have the non-absolute targets (hrefs), like "page.html" rather
than "
http://somedomain.com/page.html". When you download a file onto
a local disk (let's say c:\), browser will try locating link's target
at: c:\page.html" which is not available.
So, disabling images using registry before launching application is
wiser to approach. Restore it on app shutdown, as well.
Onur Güzel