473,387 Members | 1,573 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,387 software developers and data experts.

problems with WebBrowwser.Navigate

guy
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/de...s/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
Jul 21 '05 #1
3 1359
Guy,

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

Cor
Jul 21 '05 #2
Hi Guy

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

microsoft.public.inetsdk.programming.webbrowser_ct l
microsoft.public.inetsdk.programming.mshtml_hostin g

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

HTH

Charles
"guy" <gu*@discussions.microsoft.com> wrote in message
news:30**********************************@microsof t.com...
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/de...s/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

Jul 21 '05 #3
guy
> 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
Jul 21 '05 #4

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

Similar topics

0
by: plumpy321 | last post by:
Hi, I took an example from wxPython with the IE web browser and created a refresh button to automatically refresh a web page in 5 second intervals. But I notice that the memory utilization in...
0
by: chupito | last post by:
I have a strange problem. I inherited an existing .net application (simple form, nothing spectacular), let call it "APP" and form1.aspx. APP was created as a VB.net application in VS.Net 2003. ...
0
by: SPG | last post by:
Hi, We are using the AxSHDocVw.AxWebBroswer control in our C# app. (It is the standard I net active X I think). Anyhow, we are experiencing some odd behaviour. Every now and then we find that a...
4
by: Matt MacDonald | last post by:
Hi everyone, I'm seeing this problem more and more often. Not sure if it's me or IIS or both. Here's the general scenario: I have an ASP.net app that is running and I try to navigate to...
3
by: guy | last post by:
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...
2
by: Ryan Ramsey | last post by:
I have been chasing this one down for a week and have narrowed it down to a machine issue. I have the following code: webBrowser.Navigate(http://finao.net/post_dkp.php?database=40); Basically...
3
by: Bill | last post by:
I have what I think should be a simple question regarding a bound combo box. My first table is Dealers: DealerID - primary key DealerName BillToLocation My second table is Locations:...
5
by: =?Utf-8?B?bGpsZXZlbmQy?= | last post by:
I am having problems interacting with flash objects (i.e., Adobe Flash Player 9) in web pages when using a System.Windows.Forms.WebBrowser control. The flash objects always seem to display...
9
by: BowserYo | last post by:
Hi! I'm very new to Visual Basic Express 2008 and I am trying to get a basic knowledge of the program so I took the tutorial that shows you how to make a basic webbrowser. Well I took it a little...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.