|
-
Jul 2nd, 2003, 04:18 PM
#1
Thread Starter
Hyperactive Member
Read XML file into combo box....
<?xml version="1.0"?>
<chimaera>
<servers>
<host ip="172.16.1.30">Chimaera</host>
<host ip="172.16.1.31">MySQL1</host>
<host ip="172.16.1.32">Ares</host>
</servers>
</chimaera>
How can I read the above xml file into a combobox with the server names?
While myXML.Read
If XmlNodeType.Element Then
If myXML.Name = "hosts" Then
myXML.MoveToAttribute("ip")
MsgBox(myXML.ReadAttributeValue)
End If
End If
End While
this is what i have but it won't work. i'm trying to read the attribute "IP"
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
|