[RESOLVED] loading a webpage without images using webbrowser control
hey ppl
is it possible to load a webpage in the webbrowser control without the images as iam interested in the source of the page.also that would load the page faster
iam using the following code
Code:
WebBrowser1.Navigate2 "webpage"
thanks in advance
Re: loading a webpage without images using webbrowser control
If you change,
HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\Display Inline Images
value to "no", webbrowse will not display the images. But it will effect all new instances of internet explorer.
To get rid of this problem, I wrote this code to remove images from DOM just after loading the page. I hope it will help you.
As you are interested in just source of the file, you may consider using URLDownloadToFile API.
Re: loading a webpage without images using webbrowser control