|
-
Mar 3rd, 2006, 11:44 PM
#1
Thread Starter
Member
DispDOMChildrenCollection
What is "DispDOMChildrenCollection"? It seems to be a function, but whatever it is, I can't use it the way I need to. I probably only need a DOMChildrenCollection object.
If this forum is not the most relevant for this question, then you can tell me which is.
The following is simplified sample code. In my full version, I do load a document into HTML. In the first sample below, the result of TypeName is DispDOMChildrenCollection. In the second sample below, I get the compile error "Argument not optional".
VB Code:
Dim HTML As MSHTML.IHTMLDocument
Set HTML = New MSHTML.HTMLDocument
Text1 = TypeName(HTML.documentElement.childNodes)
VB Code:
Dim HTML As MSHTML.IHTMLDocument
Dim ChildrenCollection As DispDOMChildrenCollection
Set HTML = New MSHTML.HTMLDocument
' "Argument not optional" from the following
ChildrenCollection = HTML.documentElement.childNodes
Can I get at least a hint as to what DispDOMChildrenCollection is and where to look for documentation of it?
Also, if I use a Set for ChildrenCollection, I get "Type Mismatch".
Last edited by Sam Hobbs; Mar 3rd, 2006 at 11:49 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|