LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 93
Default new v/s createObject ... IXMLDOMNodeList

As a VBA rookie I'm drowning in my first "dip" into uS's XML pool.
That documentation is a challenge

I have included the reference to "uS XML, V6.0. As I understand it,
once the reference is established, I can use early binding with New.

The construct is:
Dim oDOM As DOMDocument60: Set oDOM = New DOMDocument60

It works great and auto sense is up and running too.

I'm using xpath to collect a node list, so I try to define the object
IXMLDOMNodeList with New. I can't.

I've look at a few examples and no one defines this object, they just
declare it and go on define it when the node list is actually ready.

set nodeList = oDOM .SelectNodes(xpath).

Why can't I use New with IXMLDOMNodeList? Does the constructor
require parameters? If I can't use New, then how would I know that by
looking at documentation? Please point out the obvious.

Also, is this the correct object to accept the node lists from
DOM.SelectNodes ?

Thank you.

Excel 2010, XPsp3
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with CreateObject Q[_4_] Excel Programming 5 August 31st 07 02:19 AM
Createobject for FTP AG Excel Programming 2 June 28th 07 03:49 AM
VBA - createobject - If ina Excel Programming 2 May 16th 06 09:35 AM
CreateObject Question ibeetb Excel Programming 0 July 20th 04 12:23 AM
CREATEOBJECT Using VB Karthik[_2_] Excel Programming 2 June 16th 04 09:08 PM


All times are GMT +1. The time now is 05:10 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"