Solved

WebBrowser Control and cache

Posted on 2002-05-17
7
201 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 Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Replace Formatted Numbers with text 9 61
passing parameter in sql procedure 9 56
Hide vba in gp 7 80
How to make an ADE file by code? 11 79
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

929 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now