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

Home Posts Topics Members FAQ

mshtml.HTMLDocumentClass all collection Incomplete?

Hi,

I've embedded a WebBrowser activeX control in my WinForms form.

I'm having a problem accessing HTML elements in the "all" property of
an
mshtml.HTMLDocumentClass in my
AxSHDocVw.DWebBrowserEvents2_NavigateComplete2Even tHandler.

If the html page that has been navigated to contains an activex object
e.g.

<object classid="clsid:2E991A14-F5B7-4a90-BEDC-BAF4C925B315"
id="GridOwners" width="100%" height="100" >
</object>

the "all" collection of the document shows no elements in the page
after
the "object" element.

If I navigate to a page with no activex components on it, then I see
all of the elements in the "all" collection.

Has anyone come across this problem before, and if so, what is the
fix?
Thanks in advance

Colin Foulkes
Nov 15 '05 #1
0 2550

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

Similar topics

2
by: Hasani | last post by:
When I parse this page, I manually count 27 tables, but MSHTML only reports 9. Here's my code HTMLDocumentClass htmlDoc = new HTMLDocumentClass(); System.Runtime.InteropServices.UCOMIPersistFile...
9
by: philipl | last post by:
hi, Does anyone have any sample code for this?? I can't find anything relvant at all. Please share out some code if you have any. thx
2
by: Gil Schulmann | last post by:
Hi. I am trying to load an HTML file into htmlDoc using c#. I see that the document does not load, but I can not understand where am I wrong. Any help ? My Code: class CFileHandler{...
10
by: Atul | last post by:
Hi, I just stepped into C#. I am facing one problem. Here is the scenario. I am posting some data to one website (https site). It returns me response HTML. I want to parse this HTML and want to...
10
by: Sunny | last post by:
Hi all, dev. env.: VS.Net2003/C# I have a windows form application with web browser control. I need to capture the onsubmit event of the forms in the document in order to get the values and log...
5
by: Atara | last post by:
I am trying to convert the following code to VB .Net, I still have some gaps (the lines that are marked with (*)) and also I need an ending condition for the while loop. any help would be...
4
by: Nikolay Petrov | last post by:
How can I access the MSHTML object in Internet Explorer, from my app? I don't want to use the IE Control and put it in my app. I want to be able to do things with the opened document in the...
2
by: Alfa & Omega | last post by:
I have application that's using web browser (which is hidden in app but that's not the point). At some stage of working in my application I have to check HTML of current page that's in browser . ...
0
by: timeline | last post by:
VB-WEB: proint Job Name is about:blank followed by content to print C#-APP: Sending a Job to the Printer with Crystal Reports I am using mshtml.HTMLDocumentClass docObject=new...
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...
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
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,...
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 ...

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.