473,473 Members | 2,032 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

AXBrowser Issu

I am using an AxWebBroswer in a C# project. (.Net 2002

If I use it to touch external sites, then thing work as expected. I can open multiple windows with AxWebBrowsers in them and everything still works

If, on the other hand, I open a local file (e.g., d:\index.html) then nothing is displayed and the hourglass is shown when the cursor in on the viewing area. Any forms with a web broswer after this,show the same behavior (blank viewing area with hourglass) even if the window is trying to hit an external web page. If I change the URL in any of windows to point to a local directory rather than a local html file, then I see a directory shown. If I then enter a url (local file or remote web site) then pages work fine. for that window. I need to do this on each form to get the forms to work.

To make clear, if I use d:\index.html as the first URL touched by an AxWebBrowser then the view area is blank and an hourglass shown. If I then try http://www.microsoft.com as the URL for that AxWebBrowser, I get the same behavior. If I then try d:\ as the URL for that AxWebBrowser, I get a directory listing. If I then try http://www.microsoft.com as the URL for that AxWebBrowser, I get the microsoft site shown. If I then try d:\index.html as the URL for that AxWebBrowser, I get the index.html web page shown, as I expected for the first tim

1. Has anyone seen this behavior
2. Does anyone have an idea on why this is
3. Any ideas on workarounds

Thanks
Ralph
Nov 20 '05 #1
1 1506
I can't give you any hard answers (hopefully someone will), but here's what
I do to work around the issues I have.

After creating the axBrowser, I load up the page "about:blank", and wait for
it to complete. Then, I show pages / wait for user input, whatever to do
the "normal" behavior. This fixes issues with setting the HTML, loading
local pages, etc for me.

Hope this helps you, but I also hope you get actual answers to 1. and 2.
that you posted below.

-Philip
"Ralph Pass" <rp****@rppass.com> wrote in message
news:7F**********************************@microsof t.com...
I am using an AxWebBroswer in a C# project. (.Net 2002)

If I use it to touch external sites, then thing work as expected. I can open multiple windows with AxWebBrowsers in them and everything still works.
If, on the other hand, I open a local file (e.g., d:\index.html) then nothing is displayed and the hourglass is shown when the cursor in on the
viewing area. Any forms with a web broswer after this,show the same
behavior (blank viewing area with hourglass) even if the window is trying to
hit an external web page. If I change the URL in any of windows to point to
a local directory rather than a local html file, then I see a directory
shown. If I then enter a url (local file or remote web site) then pages
work fine. for that window. I need to do this on each form to get the forms
to work.
To make clear, if I use d:\index.html as the first URL touched by an AxWebBrowser then the view area is blank and an hourglass shown. If I then
try http://www.microsoft.com as the URL for that AxWebBrowser, I get the
same behavior. If I then try d:\ as the URL for that AxWebBrowser, I get a
directory listing. If I then try http://www.microsoft.com as the URL for
that AxWebBrowser, I get the microsoft site shown. If I then try
d:\index.html as the URL for that AxWebBrowser, I get the index.html web
page shown, as I expected for the first time
1. Has anyone seen this behavior?
2. Does anyone have an idea on why this is?
3. Any ideas on workarounds?
Thanks,
Ralph

Nov 20 '05 #2

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

Similar topics

1
by: skilla | last post by:
Hi people, I've got WinXP Pro SP2 English on my laptop and since installing SP2 got the IISRESET "No such interface supported" error. The whole story: I was writing a fairly simple ASP app...
1
by: Andy Bates | last post by:
Hi - Could someone tell me if it is possible to set the display of the MS Web Browser control to an HTML string? So for instance (SetText method doesn't exist, but you get the idea): ...
1
by: swin | last post by:
I've a wrapper class around axBrowser which logs into a site, navigates to a data page and harvests info from it. It works fine for a single data page (passing it a key for the data), but my...
1
by: chawes40 | last post by:
I have a .aspx class and I'm trying to add a axbrowser to this page so that it will display my results in IE format. But I get an error when I try to add the axbrowser to the class. I'm not sure...
25
by: MeNotHome | last post by:
I am automating the navigation of a website. When I reach the end, it changes to xml. So my axwebbrowser1 has a bunch of xml data in it. So here is what I am trying to do Dim xmlText As...
42
by: scorpion53061 | last post by:
Is there a registry setting that I can read in vb.net for windows platforms that will give me the default mail server for the computer (e.g. mail.charter.net)
14
by: Nak | last post by:
Hi there I'm trying to use the Microsoft Web Browser within a strong names .NET assembly that I have written. Unfortunately I am getting the following linker problem as the Interop DLL that was...
1
by: murthychvrm | last post by:
why we declare "ReportDocument doc;" in this coding?what it is doing here? using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using...
1
by: rareach | last post by:
Hi all I have a service whihc accessed a db2 procedure using db2.net provider. My issue right now is that procedure is taking lot of memory space in db2 server. The procedure returns the...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
1
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...
0
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,...
1
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...
0
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...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
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 ...
0
muto222
php
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.