473,811 Members | 2,843 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Accessing "Show Pictures" in WebBrowser control from C#

Hello,

I'm developing a small application that uses the WebBrowser control to
display a webpage. I'd like to programatically access the "Show
Pictures" option to turn images on and off. Ideally, this would only
affect the particular WebBrowser control that I'm using and not all
instances of Internet Explorer, but, since it's just an app used for
demonstration purposes in talks given by me using my computer, it would
be acceptable if it sets the global setting.

What's the best way to do this?

I was previously able to use the Wininet API (and a bunch of annoying
Interop stuff) to programatically change the proxy values via
InternetSetOpti on, but I don't see how to accomplish turning off images
via the same means. Do I need to set the registry values? Older
versions of the control provide a flag that can be set using
DLCTL_DLIMAGES but I don't see how to do this with the .NET version.

Thanks you for any help you can provide.

Thanks!
Jeff

Apr 26 '06 #1
0 3219

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

21
66873
by: strutsng | last post by:
<input type="file"> only allows the user to browse for files. How about "browse for folder" dialog? Can html/javascript do that? I couldn't find any syntax for that. If not, please advise what are the other approaches. please advise. thanks!!
8
4436
by: Just Me | last post by:
1)How can I find the folders like "My Recent Document", "Desktop", "My Pictures",... if I want to store a file there? 2) How can I find the icon for those files if I want to display it? Thanks in advance for any helpful suggestions
1
1275
by: Darin | last post by:
I have many forms in an MDI application. Sometimes I show FORMA just by a f.Show, other times it is f.ShowDialog. How can I tell within the form code whether this form is shown via Show or ShowDialog??? TIA *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!
4
1809
by: bugbear | last post by:
Hello; I have (tried) to change my geocities site to be "styled" not "tabled". It's certainly made the HTML nicer. But it doesn't work as nicely I'd like. And it almost doesn't work at all under IE.
0
1278
by: Michel Couche | last post by:
Hello, I use a datalist to display the results of a search in a database of wines. One of the fields contains a full decsription of the wines. When a visitor makes a search, the results are displayed in a datalist. By default, I do not display the full description of the wines but this should be possible by clicking on a "View details" link. I am looking for a javascript to "hide/show" a panel with the optional field. I remember that...
1
1524
by: ewpos | last post by:
I have created a form that uses linked combo boxes to filter the results. When the filter runs, all of the text boxes in the form become populated with "#Name?". The record counter at the bottom indicates that the correct number of records were filtered, but I can not see any of the data. Why and how do I fix this? thanks,
0
1162
by: jonceramic | last post by:
Okay, someone before me had this problem and it never got a response... http://groups.google.com/group/comp.databases.ms-access/browse_thread/thread/7a316154552647c3/ I'm trying to add a hyperlink field to my DB, and I've implemented the hiding of menus for "fake" security. Well, I found a sort-of work around. "Control-K". While the submenu and menu are hidden, the Control-K functionality is still there.
1
3758
by: RN1 | last post by:
Sub Page_Load(........) If Not Page.IsPostBack Then Call LoadData() End If End Sub Sub LoadData() Dim dSet As DataSet Dim sqlConn As SqlConnection Dim sqlDapter As SqlDataAdapter
0
9727
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10647
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10133
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9204
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6889
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5692
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4339
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3865
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3017
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.