mshtml.HTMLDocumentClass all collection Incomplete?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Colin Foulkes

    #1

    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.HTMLDocu mentClass in my
    AxSHDocVw.DWebB rowserEvents2_N avigateComplete 2EventHandler.

    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
Working...