I have a VERY simple XML file that will basically contain a list which i need to use as the Items in a combo box... the XML file looks like this
< xml version='1.0' encoding='utf-8' >
<!-- The List of Resets Currently On Going -->
<resets
title="Reset Index List"
date="08092007"
author="Gene Johnston">
<!-- RESET LIST -->
<ITEM> TEST1 </ITEM>
<ITEM> TEST2 </ITEM>
<item> TEST3 </item>
</resets>
What i need to do is simply get the variables (i.e. TEST1, TEST2, TEST3) and save them into variables i guess and then I need to be able ot populate a combo box's items from this list. I'm not sure if it's even possible considering I keep getting a read-only error when i try to modify a combo box's items at runtime...but i guess what i need out fo you guys is a simple procedure to get these items and store them into an array of variables...thanks so much!
PS: here's a small snippet of my code that I'm currently using just to open the document
Public Sub LoadReset()
Dim textReader As XmlTextReader = New XmlTextReader("\PicturePilot\reset.xml")
textReader.Read()
If textReader.HasValue Then While textReader.Read()Debug.WriteLine(textReader.ReadElementContentAsString)
End While End If