473,811 Members | 2,944 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

problems with WebBrowwser.Nav igate

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 1407
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.publi c.inetsdk.progr amming.webbrows er_ctl
microsoft.publi c.inetsdk.progr amming.mshtml_h osting

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

HTH

Charles
"guy" <gu*@discussion s.microsoft.com > wrote in message
news:30******** *************** ***********@mic rosoft.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
1380
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 Python keeps increasing over time. Can anyone tell me why this is happening? Here is my code: ============================================================================
0
1084
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. It usesforms based authentication, and all the forms were coded "code behind". A contractor created a standalone .NET form, form2.aspx (no code behind) to edit/modify data that was input into a database by form1.aspx in the above ..NET...
0
1287
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 page will not load into the control. On most occasions it is fine, but when it happens we simply get the progress event pinging us infinitely. I have included an event trace of two page loads. One that worked and one that doesn't. As you can...
4
5495
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 another page using a response.redirect(some page), all I get is a blank page. The url in the browser hasn't changed at all and none of the page validation takes place. The site works fine when hosted locally (WinXP IIS5) but when I move it to the web...
3
282
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 (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 ;-)
2
17978
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 all this script does is create an xml output file. After the navigate, the function stops and is triggered again when webbrowser_DocumentCompleted fires and then the XML file is read by the
3
4205
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: LocationID - primary key LocationDescription DealerID - DealerID of the dealer this location belongs to
5
12054
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 correctly, but when I click on a link within the flash object the WebBrowser often fails to navigate to the new page. If I use IE6 (from outside by app) or an AxSHDocVw.AxWebBrowser control (within my app) then everything works as expected. You can...
9
1621
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 farther and added buttons like go forward/back refresh ect.. The problem I am having is this: When im typing in a web address and press the return key I want that to be the same as pressing the go button... Here is the code I have and it doesn't say...
0
9734
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9607
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10395
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10137
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9211
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7674
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5700
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4352
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3027
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.