I am having an issue reading in XML. If I have a file such as a config file with multiple nodes of the same name, how do I read them in <configuration>
<appSettings>
<add key="myProfession" value="Computer Programmer" />
<add key="myName" value="Jason" />
</appSettings>
</configuration>Does anyone have any ideas

Reading in XML
vidya_084
Dim xmlConfig As XmlAttributeCollection
Dim xmlUser As XmlAttribute
myConfig.Load("myapp.exe.config")
xmlUser = myConfig.SelectSingleNode("configuration/appSettings/add[@key='myName']/@value")
xmlUser.Value = cfgUser.Text
myConfig.Save("myapp.exe.config")
Me.Close()Now my issue is that I need the config to be <b>refreshed</b> without closing out of the app and getting back in. Does anyone know how to do this
Sans103171
jweisz
Imran007
Werner Swiegers
jordan kaliher
sdewan
there's actually an example of this in the ASP.NET Forums Source Code