Guys I'm dying here.
I have googled for the last hour or so with no luck (I'd like to think I'm a great googler too!), so here I am.
I have an XML file that I'm using for my programs settings, it looks like so:
<?xml version="1.0" encoding="utf-8"?>
<config>
<store>
<number>0323</number>
<address>address</address>
<phone>phone</phone>
</store>
<emailsettings>
<emailfrom>emailfrom</emailfrom>
<emailpass>pass</emailpass>
<emailsubject>received</emailsubject>
<smtpserver>smtp.gmail.com</smtpserver>
<smtpport>587</smtpport>
<enablessl>true</enablessl>
<emailbody>package received</emailbody>
</emailsettings>
<dbconfig>
<dbpath>path</dbpath>
</dbconfig>
</store>
How can I use vb.net to get each element and return a specific value that I want? Per se, I'd like to return <number>
(under <store>
) in textbox1, and <emailbody>
(under <emailsettings>
) in textbox2.
Help pleaseeeeee! Thanks :)