Just loading html without images?
your suggestion is only possible with your own html files, not with a website. I think he means from websites.
Cesar Romero
2010-04-18 15:21:09
@Cesar - you can get the HTML text, edit it to remove the tags, save to a file, then call webbrowser1.navigate(TempFileName, flags, flags, flags, flags);It's pretty ugly though, but it will work.
Chris Thornton
2010-04-18 18:47:00
Given that the web browser control can be set not to load images attempting to change the source html is just a lame workaround, not a good programming technique. Moreover when set so the brwoser will show images placeholders - removing or disabling the tags will change the whole page layout.
ldsandon
2010-04-18 21:18:23
@lsandon - agreed, it's not a great approach. I just tossed it out as a possible way of doing it.
Chris Thornton
2010-04-18 21:53:49
+2
A:
Use TEmbeddedWB instead of TWebBrowser, and you can do that easily by change the DLCTL_DLIMAGES option to false
Mohammed Nasman
2010-04-18 15:21:07
A:
Goto:
Tools > Internet options > Advanced Tab > Under Multimedia untick Show Pictures
waqasahmed
2010-04-18 15:24:41
A:
Here MSDN explains how to customize the web browser control: http://msdn.microsoft.com/en-us/library/aa770041(VS.85).aspx
If you're using Delphi, as Nasman said, TEmbeddedWB is a much more and updated wrapper of the web browser control.
ldsandon
2010-04-18 21:22:36