shdocvw with IE7 and navigate to a bookmark no longer working
- From: "Roy Soltoff" <rattlesnake0407@xxxxxxxxxxxxxxxx>
- Date: Fri, 22 Dec 2006 08:53:03 -0500
I posted the following on the general group and was directed here:
I have programs that use the WebBrowser control, shdocvw.dll, for rendering
HTML documents that are written to the local file system.
I use a VB.Net statement akin to:
wbrChart.Navigate(mstrPath & mstrFileName, navNoReadFromCache, Nothing,
Nothing, Nothing)
where the mstrFileName is typically default.htm, and wbrChart is the
webBrowser control reference. This works quite well up to and including ie7.
Sometimes, the document has bookmarks, and then I use a statement akin to:
wbrChart.Navigate("file:///" & mstrPath & mstrFileName & "#" & Bookmark,
navNoReadFromCache, Nothing, Nothing, Nothing)
where the bookmark is a number. An example of such a URL is
file:///c:\mypath\default.htm#123. This has worked flawslessly from ie4
through ie6. With ie7, the webbrowser control does not display the
default.htm document, but retains whatever was the previous document.
Anyone have any idea about this? Is this a security violation that needs a
change?
It was recommended that I change the "#" to "%23", which I did but that did
not correct the problem. Anyone have a clue?
.
- Prev by Date: Strange size control of "Internet Explorer_Server"
- Next by Date: APP & GoogleDesktopIE combination crashes IE7
- Previous by thread: Strange size control of "Internet Explorer_Server"
- Next by thread: APP & GoogleDesktopIE combination crashes IE7
- Index(es):
Relevant Pages
|
|