VB 2005: Write, Read and Edit XML File
Posted on 2006-05-20
First off, I am using Visual Basic 2005. I do not know a lot about XML, but I understand it is the preferred method to store information instead of INI or Registry as was done in the past.
I am writing an application which I want to store a few items in an XML file. At first I will only have one set of these elements for one application, but I may want to do more later, but let's start simple.
The information I need to capture is as follows:
AppName <--- Applications Name
SrcDir <--- Source Directory
IncSub <--- Include Sub Directories
DestDir <--- Destinataion Directory
FileName <--- FileName
Again at first I will only be doing this for one application but that may grow.
How do write this XML File from a Form with each element as a user input?
How would I then recall this information in to variables to use in the application?
How do I edit/update the information?
All help would be greatly appreciated.