C
Colin Foulkes
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_NavigateComplete2EventHandler.
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
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_NavigateComplete2EventHandler.
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