Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IXMLDom Question

Status
Not open for further replies.

Kliot

Programmer
Jan 10, 2003
622
0
0
US

I'm struggeling tryting to get a program working from sample code I received, I keep getting the error message "Type 'IXMLDomNode' is not defined", "Type 'IXMLDomNodeList' is not defined" etc.

when the variables are declared as:
Dim oChild As IXMLDomNode
Dim nodeList As IXMLDOMNodeList
Dim xmlDoc As New DOMDocument

What am I missing, I'm new to Vb. Is there something else that has to be defined for the IXML types to be defined.

Thanks in advance
Perrin
 
Kliot,
First you need to download the latest DOM DLL from here.

Once installed add the Microsoft XML, v4.0 reference to your project through the Project->References menu.

Zy
 
The other thing is that .NET has an entire namespace devoted to XML: System.Xml, and it might be worthwhile learning how to do it the .net way.

Chip H.


____________________________________________________________________
If you want to get the best response to a question, please read FAQ222-2244 first
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top