473,799 Members | 3,082 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Webbrowser and images (how not to display them)

I have an application that uses the web browser component in VS 2005. I
know this is just a wrapper for the com component. What I need to do is
control wether or not the images on the navigated pages get displayed,
but I'm not sure how to do this.

Any suggestions?

Jun 25 '06 #1
5 8378
Images are still going to be sent to the client by the server when the page
is requested so use server-side code to determine what is and what is not
displayed in the page. There's more than one way to skin this cat.
<%= Clinton Gallagher
NET csgallagher AT metromilwaukee. com
URL http://www.metromilwaukee.com/clintongallagher/
"ThisBytes5 " <Th********@gma il.com> wrote in message
news:11******** **************@ p79g2000cwp.goo glegroups.com.. .
I have an application that uses the web browser component in VS 2005. I
know this is just a wrapper for the com component. What I need to do is
control wether or not the images on the navigated pages get displayed,
but I'm not sure how to do this.

Any suggestions?

Jun 25 '06 #2
It's not my site. I'm using the webbrowser component to automate some
things on a site that I need to do on a daily basis, and need to do it
as quickly as possible. Given that I don't want the webbrowser
component to download the images.

When I kick off the application I set my Internet options by unchecking
the check box for show pictures. This causes every browser, including
the webbrowser component, to not display/download the images. Thus
making the surfing faster.

I want to control this at the application level so the whole machine
isn't set that way. How would I do this on the webbrowser component?
clintonG wrote:
Images are still going to be sent to the client by the server when the page
is requested so use server-side code to determine what is and what is not
displayed in the page. There's more than one way to skin this cat.
<%= Clinton Gallagher
NET csgallagher AT metromilwaukee. com
URL http://www.metromilwaukee.com/clintongallagher/
"ThisBytes5 " <Th********@gma il.com> wrote in message
news:11******** **************@ p79g2000cwp.goo glegroups.com.. .
I have an application that uses the web browser component in VS 2005. I
know this is just a wrapper for the com component. What I need to do is
control wether or not the images on the navigated pages get displayed,
but I'm not sure how to do this.

Any suggestions?


Jun 25 '06 #3
I couldn't respond to the real question but to assume you are SOL.
<%= Clinton Gallagher
NET csgallagher AT metromilwaukee. com
URL http://www.metromilwaukee.com/clintongallagher/

"ThisBytes5 " <Th********@gma il.com> wrote in message
news:11******** *************@y 41g2000cwy.goog legroups.com...
It's not my site. I'm using the webbrowser component to automate some
things on a site that I need to do on a daily basis, and need to do it
as quickly as possible. Given that I don't want the webbrowser
component to download the images.

When I kick off the application I set my Internet options by unchecking
the check box for show pictures. This causes every browser, including
the webbrowser component, to not display/download the images. Thus
making the surfing faster.

I want to control this at the application level so the whole machine
isn't set that way. How would I do this on the webbrowser component?
clintonG wrote:
Images are still going to be sent to the client by the server when the
page
is requested so use server-side code to determine what is and what is not
displayed in the page. There's more than one way to skin this cat.
<%= Clinton Gallagher
NET csgallagher AT metromilwaukee. com
URL http://www.metromilwaukee.com/clintongallagher/
"ThisBytes5 " <Th********@gma il.com> wrote in message
news:11******** **************@ p79g2000cwp.goo glegroups.com.. .
>I have an application that uses the web browser component in VS 2005. I
> know this is just a wrapper for the com component. What I need to do is
> control wether or not the images on the navigated pages get displayed,
> but I'm not sure how to do this.
>
> Any suggestions?
>

Jun 25 '06 #4
I found this today:

http://slingkid.blogsome.com/2006/05...ar-to-outlook/

It is what I needed.

Thanks
Wayne

Jul 2 '06 #5
I found this today:

http://slingkid.blogsome.com/2006/05...ar-to-outlook/

It is what I needed.

Thanks
Wayne

Jul 2 '06 #6

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

Similar topics

0
3481
by: Jim Hubbard | last post by:
How would I implement the IDispatch interface to handle the following in VB.Net <BEGIN> Controlling Download and Execution The WebBrowser Control gives you control over what it downloads, displays, and executes. To gain this control, you need to implement your host's IDispatch so it handles DISPID_AMBIENT_DLCONTROL. When the WebBrowser Control is instantiated, it will call your IDispatch::Invoke with this ID. Set pvarResult to a...
0
3219
by: jeffrey.bigham | last post by:
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...
0
3582
by: Andy Bates | last post by:
Hi - This issue seems to have been kicking around since the dawn of time and no one appears to have come up with an answer. In short the MHT/MSHTML provides a method of archiving an HTML page into a single MIME encoded file that specifies all of the resources for a page in a single file. This makes a lot of sense as if you could pass one of these to the
0
5577
by: gunimpi | last post by:
http://www.vbforums.com/showthread.php?p=2745431#post2745431 ******************************************************** VB6 OR VBA & Webbrowser DOM Tiny $50 Mini Project Programmer help wanted ******************************************************** For this teeny job, please refer to: http://feeds.reddit.com/feed/8fu/?o=25
3
1884
by: Peter Oliphant | last post by:
It's not necessary, but it would be nice if there was a way I could easily create something like a 'web browser form' or a 'display web page form' as forms in my application (in a Panel would be even better!). Something that allows browsing the internet within the window, or possibly just display a web page that I choose (as the application author in code) to show without the ability to browse. The later ability would allow me to change,...
0
1651
by: kjellkp | last post by:
Hi, How do I keep the ratio aspect on images when I try to resize them in a webbrowser controller in my C# .Net 2.0 windows application ?. I use Webbrowser.execCommand("insertImage") to insert an image. In other programs you can hold the shiftkey down when rezising with the mouse. But I can't find a method to keep the ratio aspect in my webbrowser. Regard, KKP
8
11373
by: CJ | last post by:
After you trigger your event and store an internet webpage as an .mht file, then you store the contents of the .mht into a database. Has anyone figured out how to load the contents from the db into a webbrowser, and have it display the same way with all the embedded pictures and everything? I have been reading posts for days, but it seems there is no answer to this question. If you download a webpage into an .mht file and you...
6
6489
by: LEM | last post by:
Hi, I use a Webbrowser component to display a page that has been generate dynamically from my C# program. This page contains some images that are displayed using HTML code like this: <img src="person.gif"> person.gif is an image that is located in my bin folder.
5
13387
matheussousuke
by: matheussousuke | last post by:
Hello, I'm using tiny MCE plugin on my oscommerce and it is inserting my website URL when I use insert image function in the emails. The goal is: Make it send the email with the URL http://mghospedagem.com/images/controlpanel.jpg instead of http://mghospedagem.comhttp://mghospedagem.com/images/controlpanel.jpg As u see, there's the website URL before the image URL.
0
9688
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
10490
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...
1
10243
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10030
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...
1
7570
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6809
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
5590
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4146
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
3
2941
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.