Hi there,

So here's my xml file. I would like to do is to get all the Tab value into my textbox using a button to do so.

Code:
<?xml version="1.0" standalone="yes"?>
<programsetting>
  <Main>
    <Test Tab="1" />
    <Test Tab="2" />
    <Test Tab="3" />
    <Test Tab="4" />
  </Main>
</programsetting>
Here's my button code but was able to get the 1st tab value = "1" though.

Code:
doc.Load("Copy of GUI_Setting.xml")
        Dim node As XmlNode = doc.SelectSingleNode("/programsetting/Main/Test")
        Dim att = node.Attributes("Tab")
        For Each whatever In att
            TextBox2.Text = att.Value
        Next
Thank you.