That page contains javascript that will close the window when the window is
clicked. Once that's done the webbrowser is closed.
You can only override this by downloading the page to a file, opening it for
editing, deleting the java code:
<SCRIPT LANGUAGE="JavaScript">
function closeWin() {
window.close();
}
if (window.Event) document.captureEvents(Event.ONCLICK);
document.onclick = closeWin;
</SCRIPT>
... then showing your modified file instead.
Either that or download the file to disk, read the img tag data
<img src="images/map760x1008.jpg" width="760" height="1008">
.... extract the image URL, combine it with the base URL for the site, and
pass that as the Navigate2 value
(
http://www.kanguk.com/info_pages/images/map760x1008.jpg)
--
Randy Birch
MVP Visual Basic
http://www.mvps.org/vbnet/
Please respond only to the newsgroups so all can benefit.
"Raymond H." <di*******@hotmail.com> wrote in message
news:tU*******************@news20.bellglobal.com.. .
: Hello,
: I have a WebBrowser1(0) on my form in my vb projet, with this page
that
: is display
http://www.kanguk.com/info_pages/map_large.htm
: If I clic on that Internet Page, my control WebBrowser1(0) go on (no more
: display) to my eyes, I don't see no more this control.
: But when I do 'MsgBox (WebBrowser1(0).Width)' this indicate his width,
: then it exist but I don't see it even I put 'WebBrowser1(0)visible=true'.
: How to do to see it on my vb form?
: Raymond H.
:
lo******@sympatico.ca
:
: