0

I Want To Disable Styles & Images Of webBrowser Control (in a Windows Applications) Before Loading?
mean i do n't want any style or image of a web site inside web browser's control.

Because Of More Speed

how can i disable them?
is there any property for do that?

thanks in advance

SilverLight
  • 19,668
  • 65
  • 192
  • 300
  • See here for how to disable images: http://stackoverflow.com/questions/2048424/disable-image-loading-from-webbrowser-control-in-c-net-before-the-documentcompl – Scott Sep 02 '12 at 15:38
  • hi dear Scott, i could n't understand any thing from that link. would you please give us an example! – SilverLight Sep 02 '12 at 15:42

1 Answers1

1

I don't think this is standard functionality of the bundled WebBrowser control. This previous SO question about disabling images in a WebBrowser control suggests using this replacement WebBrowser control which provides the image disabling features you require.

This site provides the source code and a demo application. A comment on that site by ATS++ (Titled: Re:HOWTO Encorporate this into my own project.) shows how to use as a standalone WebBrowser control replacement.

But I haven't used it personally, so I am unable to provide any further details on it's workings.

Community
  • 1
  • 1
Scott
  • 21,211
  • 8
  • 65
  • 72