Make the IE Browser Control Reaload Pages

My app uses the IE Browser Control to load a Web Page at the start. I want to be sure that the page is loaded each time the app is run and not the cached version of the page on the user's PC.
What can I set or do to insure this?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Éric MoreauSenior .Net ConsultantCommented:
Use the Refresh2 method.
rbendAuthor Commented:
please explain how to apply or use it.
I have no example. Where do I place it and how is it worded.
     Is this what you are looking for?

On Internet Explorer menu bar go to Tools > Internet Options > General Tab > Temporary Internet Files > Settings button > Check For newer versions of stored pages: >  click on the option button that says "Every visit to the page".

The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

When you initially navigate to a url (on start up) you can set the flag to 'not read from cache'. If you want to reload the page after navigation, you can use the naviage2 method (emoreau's suggestion). You can then specify a complete refresh.

Const navNoReadFromCache = 4
Const refresh_completely = 3

Private Sub Form_Load()
WebBrowser1.Navigate "", navNoReadFromCache
End Sub

Private Sub cmdRefresh_Click()
WebBrowser1.Refresh2 refresh_completely
End Sub

Navigate method:

Refresh2 method:

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Éric MoreauSenior .Net ConsultantCommented:
As jgv already said: WebBrowser1.Refresh2
rbendAuthor Commented:
This seems to be handling my need. Thanks to all of you for being helpful.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.