Solved

WebBrowser Control and cache

Posted on 2002-05-17
7
203 Views
Last Modified: 2007-12-19
Hi there!

I have a program that navigates to a url from time to time and checks what it gets from it. It is a fairly simple code and would work very well shouldnt the WebBrowser Control cache everything.

My question is:
Can I prevent the WebBrowser Control from reading a page from the cache everytime I call the Navigate method?

Your help is appreciated.
0
Comment
Question by:vbplus
  • 4
  • 2
7 Comments
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 7017545
You can use either the Refresh or Refresh2 method.

Anthony
0
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 7017550
Also, please maintain this open question:

Automatic Filling Date: 05/15/2001 04:16PM PST
http://www.experts-exchange.com/jsp/qShow.jsp?ta=visualbasic&qid=20118740

Thanks,
Anthony
0
 
LVL 75

Accepted Solution

by:
Anthony Perkins earned 50 total points
ID: 7017559
Also, take a look at the navNoReadFromCache and navNoWriteToCache flags when you call the Navigate or Navigate2 method.

Anthony
0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 1

Author Comment

by:vbplus
ID: 7021767
acperkings,

The documentation at the MSDN website states that both these flags are currently not supported.
0
 
LVL 1

Author Comment

by:vbplus
ID: 7021785
acperkings,

As for the Refresh method, I know it should work but I would rather not have the page loaded twice everytime it has to be loaded. There must be another way.
0
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 7021817
Two questions:
1. Did you try using the navNoReadFromCache or navNoWriteToCache flags?
2. Are you planing to do anything about the following question:
Automatic Filling Date: 05/15/2001 04:16PM PST
http://www.experts-exchange.com/jsp/qShow.jsp?ta=visualbasic&qid=20118740

Anthony
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 7817827
Hi vbplus,
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 acperkins@devx's comment(s) as an answer.

vbplus, 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
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question