problems with WebBrowwser.Navigate

G

Guest

Hi all -

And apologies if I'm in the wrong newsgroup. I'm a newbie here and I'd
certainly appreciate any pointers to the right forum. To the point...

We're running a WebBrowser object (through an AxWebBrowser activex control),
and have found that it navigates to a "cannot load" error page when the
network cable's unplugged. I should add at this point that we're trying to
navigate to a page on localhost ;-)

After plenty of research I found the following line in MS's documentation:

"In Internet Explorer 6 or later, you can navigate through code only within
the same domain as the application hosting the WebBrowser control. Otherwise,
this method is disabled."

http://msdn.microsoft.com/library/d...ser/webbrowser/reference/methods/navigate.asp

Best guess is that this is thowing the error page, and that with no network
the underlying object is unable to establish that the calling code and the
control are on the same machine. So 2 questions:

1 - Is this a correct diagnosis?
2 - If so, how do I appraise MS of the bug?


Many thanks --

guy
 
C

Charles Law

Hi Guy

You might like to post this in the first of these (or possibly both)

microsoft.public.inetsdk.programming.webbrowser_ctl
microsoft.public.inetsdk.programming.mshtml_hosting

It is not as active as here, but there is some excellent support there for
just this type of question.

HTH

Charles
 
C

Cor Ligthert

Guy,

What are you browsing to, a virtual folder (IIS or whatever webserver) or a
hard coded folder

Cor
 
G

Guest

What are you browsing to, a virtual folder (IIS or whatever webserver) or a
hard coded folder

Cor

Browsing to a custom server listening on port 9090. But I've tried all sorts
of stuff, including hardcoding the response from the custom server, browsing
to a doc in an IIS virtual folder, etc. The common features are:

1 - Doesn't work with the network cable unplugged
2 - Does work with the cable seated, even if connected to only a random
laptop at the other end
3 - Works in a standalone IE application, whether network cable in or out.

Charles, thanks for the tip. I'll cross-post to those groups.


guy
 

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