?
Solved

WebBrowser Control and cache

Posted on 2002-05-17
7
Medium Priority
?
207 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 200 total points
ID: 7017559
Also, take a look at the navNoReadFromCache and navNoWriteToCache flags when you call the Navigate or Navigate2 method.

Anthony
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

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…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…
Suggested Courses
Course of the Month11 days, 15 hours left to enroll

752 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