browser control refresh (re navigate)

G

Guest

I have a VB.Net form with a Microsoft Web Browser control in it. I navigate
to an XML file on my computer, then I change the XML document , then I
navigate to the XML file again. The browser control shows the OLD XML
document.

How do I refresh the control to show the new document?

Is there a way to clear the control's web cache?

THANK YOU!
 
G

Guest

I got it to work, but I don't know WHY it works.

browser.ExecWB(SHDocVw.OLECMDID.OLECMDID_REFRESH, _
SHDocVw.OLECMDEXECOPT.OLECMDEXECOPT_DODEFAULT)

What am I doing? What does ExecWB stand for and what is it doing?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top