I wnat to be able to do it on the fly.
the webbrowser is in the main form, I don't want to have to restart the app to take effect... IE does not restart, it should be possible :)
thx anyway
Main Topics
Browse All Topicshi all,
a new question for advanced programmers ;)
I have a webbrowser control
and I want to use the 'Display Inline Images' option for disabling the display of images...
for this I use this call function
Call savestring(HKEY_USERS, "S-1-5-21-725345543-436374
All works good if I close my webbrowser and if I reopen it...anyway I don't want my software do it... can I tell the webbrowser to reload all settings and by the way load the new Display Inline Images parameter.
of course the webbrowser.refresh don't work ;)
hope someone will help me...
regards
al
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Well, take a look at this scenario:
You have an internet explorer window showing www.nowhere.com site with full of images.
you go to Tools, internet Options and change display images to not show them at all and push OK button from dialog.
Images from this site disappears? sure not but if you open a new window images are not showed.
Anyway, changes take effect the next time you use the browser or after you reload current page.
Richie_Simonetti << nope, if I hit F5 (refresh) the pictures doesn't shows
ark << I tried but it give me an error
here is my code
(I added the reference to Microsoft Internet Controls (shdocvw.dll))
Private Sub chk_img_Click()
'desactivate or reactivate images displaying
If chk_img.Value = 1 Then
Call savestring(HKEY_USERS, "S-1-5-21-725345543-436374
Else
Call savestring(HKEY_USERS, "S-1-5-21-725345543-436374
End If
'refresh webbrowser (wb)
Dim SHWnds As New ShellWindows
For Each wb In SHWnds
wb.Navigate wb.LocationURL
Next i
Set SHWnds = Nothing
End Sub
I dont know if you've solved this yet, BUT..
I just happened to be struggling with the same problem, but quickly solved it when I realized that when the program is complied it works great, here's what I used:
In form load (or before you use the webbrowser control, turn the "display inline images" key to "no".
AFTER that page is done loading (in WebBrowser1_DocumentComple
This should work, I just got done testing, and remember it needs to be compiled to fully work.
-Jordan
Hi albundy,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:
Accept Richie_Simonetti's comment(s) as an answer.
albundy, if you think your question was not answered at all or if you need help, just post a new comment here; Community Support will help you. DO NOT accept this comment as an answer.
EXPERTS: If you disagree with that recommendation, please post an explanatory comment.
==========
DanRollins -- EE database cleanup volunteer
Business Accounts
Answer for Membership
by: Richie_SimonettiPosted on 2002-08-14 at 10:33:33ID: 7220481
Save current setting somewhere else in your app
change at registry
Load your form with webbrowser
Restore registry on exit.
Changes mades at it takes ffect the next time you open the browser, not in this instance (just try to do it with IE properties dialog and you will see)
Cheers