473,473 Members | 1,549 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Browser ActiveX problems in C#

SPG
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 see, the failed page seems to mis out a second
BeginDownload section.

Has anyone had any experience with this control, and maybe have some advice?
Alternatively, are there any .NET specific web controls?

Cheers,

Steve
NOTE: Removed real web page addresses!!!!

!! NAVIGATE TO: xxxxxxxx.htm
PropertyChange: {265b75c1-4158-11d0-90f6-00c04fd497ea}
DownloadBegin
PropertyChange: {D0FCA420-D3F5-11CF-B211-00AA004AE837}
CommandStateChange: 2, False
CommandStateChange: 1, False
ProgressChange: 0 of 10000
DownloadComplete
DownloadBegin
CommandStateChange: 2, False
CommandStateChange: 1, False
CommandStateChange: 2, False
CommandStateChange: 1, False
CommandStateChange: -1, False
NavigateComplete2: http://xxxxxxxx.htm
CommandStateChange: -1, False
ProgressChange: 50 of 10000
ProgressChange: 10000 of 10000
ProgressChange: -1 of 10000
DownloadComplete
ProgressChange: 10000 of 10000
Document Complete: http://xxxxxxxx.htm
ProgressChange: 0 of 0

!! NAVIGATE TO: xxxxxxxx.htm
PropertyChange: {265b75c1-4158-11d0-90f6-00c04fd497ea}
DownloadBegin
PropertyChange: {D0FCA420-D3F5-11CF-B211-00AA004AE837}
CommandStateChange: 2, False
CommandStateChange: 1, False
ProgressChange: 0 of 10000
DownloadComplete
ProgressChange: 50 of 10000
ProgressChange: 100 of 10000
ProgressChange: 150 of 10000
ProgressChange: 200 of 10000
ProgressChange: 250 of 10000
ProgressChange: 300 of 10000
ProgressChange: 350 of 10000
ProgressChange: 400 of 10000
ProgressChange: 450 of 10000
ProgressChange: 500 of 10000
Nov 16 '05 #1
0 1273

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

Similar topics

1
by: Aurélien Géron | last post by:
Hi, I'd like to write a simple portable browser plugin for Internet Explorer, Netscape and if possible other navigators too. Is there a way to do that using Python? For now I'd like to develop...
10
by: Greener | last post by:
Hi, I need help badly. Can you do client-side programming instead of server-side to capture the Browser type info? If this is the case, what's wrong with the following? <script...
2
by: dxben | last post by:
I am considering a situation where I have (n) number of form windows, each with an instance of the Microsoft Web Browser Control (IE) on each form. In each web browser control is an HTML page that...
0
by: philipp | last post by:
I have the following problem: My client application (c#, WindowsForms) uses the IE Browser ActiveX Control to display either HTML or PDF files. This is fine so far. If the Acrobat Reader is...
2
by: J.Marsch | last post by:
Ok, so here's a problem you probably don't see every day: We are building an application that must run in a browser, but we need to do some things client-side that would be rather difficult to...
7
by: phal | last post by:
Hi I think there are many different browsers to browse to the Internet, how can I write the javascript to identify different browser and display according to the users. Some browser disable the...
2
by: morgan.chengmo | last post by:
How to judge whether a browser supports ActiveX? Some browser like Firefox doens't support ActiveX by default, but can do it with plugin support. Take Firefox for example, it has a whitelist...
16
by: petermichaux | last post by:
Hi, Does anyone have a a cross-browser setOpacity function that does not use browser sniffing? I looked at the Yahoo! UI function and it detects IE by looking for window.ActiveXObject. I also...
13
by: anil.rita | last post by:
When the user chooses an AV file to play, based upon the type of file, I want to use the default installed media player to play it. I am wondering if this is a good way - any alternatives,...
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
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
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...
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
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...
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: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.