Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

browser control

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
when embedding a browser as an activeX control does anyone know a way of disabling the images (without doing it in internet options)

thanks, paul
 
I'm not sure if this is the correct response, but if you're using The components supplied with Builder for your control, then all you have to do is set the Enabled property of the TImage or whatever component you're using to false
 
Thanks anyway, but I'm using Internet Explorer, or Gecko imbedded as an activeX control on a form so I can't directly interact with any of the pictures.
 
hi,

about the only way i could think of MAKING IT WORK (i.e. hacking it) would be set up a "proxy browser" that filters out the images.

you could have 2 tcppwebrowsers, one hidden (the proxy) one visible (webbrowser).

one inefficient, quickly thought off method is:

load the normal page into the proxy
save the (proxy) web page into a director
parse the directory, removing picture files
load the page into your normal tcppwebbrowser

vola, a page with no images.. (apart from them no-pic images)

obviously, if you were doing properly you'd remove the html code 'hoding' the pictures straight from the source html doc. beats deleting the pics from the directory!!

hope it helps

ck
ncoded
now to remove the pics, this is one inefficient method - most ppl could think of 100's of better ways than this..

load the (pic) page into the proxy and save page in a given directory. then write
 
oops ... ment to write:

hi,

about the only way i could think of MAKING IT WORK (i.e. hacking it) would be set up a "proxy browser" that filters out the images.

you could have 2 tcppwebrowsers, one hidden (the proxy) one visible (webbrowser).

one inefficient, quickly thought off method is:

load the normal page into the proxy
save the (proxy) web page into a director
parse the directory, removing picture files
load the page into your normal tcppwebbrowser

vola, a page with no images.. (apart from them no-pic images)

obviously, if you were going to do this properly you'd remove the html code 'holding' the pictures straight from the source web page. beats deleting the pics from the directory!!

hope it helps

ck
ncoded
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top