You should look into
"Custom Handers" for app.config files.
Go here;
2/8/2006
Smarter Email/Smtp setup with DotNet Configuration Sections (1.1 and 2.0)
http://sholliday.spaces.live.com/blog/
You're not interested in the smtp/email stuff, you're interested in how I
read xml out of the app.config file, and turn it into custome object(s).
There is downloadable code.
See
// (
http://msdn.microsoft.com/library/de...onhandlers.asp )
// also see
http://support.microsoft.com/default...b;en-us;309045
// Article ID : 309045
But the code I have will demo it much faster.
"DaveP" <(E-Mail Removed)> wrote in message
news:sR2Ah.6191$(E-Mail Removed)...
> Hi all...
> Looking for some advice
> We have alot of services in vb6 and im re-writing them in c#...they all
use
> xml files for start up config
> i want to write a class to support these files...
> is the best way to build collection object from the xml files
> thanks
> DaveP
>
>