473,325 Members | 2,785 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,325 software developers and data experts.

browser control refresh (re navigate)

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!
Dec 30 '05 #1
1 1620
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?

"PJSimon" wrote:
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!

Dec 30 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Tom Meuzelaar | last post by:
Hello: I'm using VB6 in VS enterprise. I'd like to place an HTML form inside a VB container, have a user fill out the form information, click a submit button, and then have the program capture...
0
by: AlanF | last post by:
Here is my perplexing issue and I've looked EVERYWHERE for help (well almost everywhere.... probably should have started here :)) I am using a Webclient to successfully retrieve a "downloadata"...
0
by: Grant | last post by:
I have an application written in c# using the Web Browser Control. I also created a setup package to distribute this application on various machines all running windows xp or 2000. When i...
7
by: portroe | last post by:
I am Using the web browser control, in conjunction with data pulled down from web services, Browser.? = foundinfo.Details(i).ImageUrlSmall.? I cannot seem to get it to work, can anybody...
1
by: Oenone | last post by:
I've reached the conversion of a part of my application from VB6 to VB.NET which uses the COM Web Browser control to display HTML content generated by my application. The general approach used...
2
by: Lyle Fairfield | last post by:
I am using Microsoft’s Web Browser Control embedded on an Access Form to browse a specific site. I have a good reason for doing so; the pages on this site run code which aborts their display unless...
1
by: celoftis | last post by:
BACKGROUND: I have some PPT slides that have been converted to HTM (ensuring that the show slide animations while browsing checkbox is checked). The original HTM slides have custom animations to...
0
by: =?Utf-8?B?UmljaA==?= | last post by:
I have a web browser control (VB2005) in a panel on a form. I use it only to open Reports from Reporting Services (sql Server 2000) or PDFs. So I am not using the web browser control for browsing...
5
by: timnels | last post by:
I have a web browser control that I'd like to point at a HTML file in my installation directory. I am doing something like: string path = Path.GetDirectoryName(...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.