VSM - October 2002 Getting Started column
Store App Settings as XML
Stan Schultes - stan@vbnetexpert.com

The sample code for this column includes two directories. XMLSettings is a reusable XML settings component. SettingsTest is a test app for the XMLSettings component. To use XMLSettings in your own projects, you need to set a reference to the XMLSettings.dll. 

To load the sample code on your machine, you must have the .NET Framework Release version or later installed. You don't need to have Visual Studio .NET installed to run the sample code, but the article assumes VS.NET for VB development. Unzip the two project zip files into the same directory. Unzip each into a subdirectory to create two directory trees: XMLSettings and SettingsTest.

To open the combined project, open the XMLSettings.sln file in the XMLSettings directory. These projects are integrated into one solution file. Changes to the XMLSettings component are reflected in the SettingsTest project the next time you run it.

The SettingsTest project maintains the SettingsTest.xml file in its \bin directory, where it saves its settings. Also in this directory is the Example.ini file that you can convert to Example.xml. Any INI file you convert to XML goes into the same directory as the INI, without changing the INI file.
