Solved

WebBrowser Control and cache

Posted on 2002-05-17
7
202 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
Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 
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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
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…
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…
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…

773 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