473,800 Members | 3,038 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 1406
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
4203
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
9550
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
10269
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...
1
10248
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10032
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...
1
7573
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
6811
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5597
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4148
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
2
3764
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.