Hi,
The app.config file is a XML file with a defined structure, you have classes
in the framework ( System.Configuration ) that deals with this file in an
easy way.
Usually you define your settings inside the <AppSettings> section. in this
case you can use
Syste,Configuration.ConfigurationSettings.AppSettings["YoueKey"] to retrieve
it.
Now if you are working with 2.0 the above code will give you a warning, this
is cause there is a new configuraiton mechanism in place and
ConfigurationSettings is marked as deprecated.
There is an article in MSDN that explain in details the differences between
1.1 and 2.0 refering the config. Unfortunately I cannot find it now
--
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"Alan T" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
>I have a string inside this file would like to retrieve out.
> How do I get that?
>