Hi,
I think you better check the docs for the configurations settings in .NET
an app.config is the name of the config file managed by the framework, You
add it in VS and it's included in the project files.
The reason you do not see it being used nowhere is cause the framework is
the one reading and parsing it, when you use
System.Configuration.ConfigurationSettings.AppSett ings["Interval"] you are
using that file
cheers,
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"Dave Cullen" <no****@mail.com> wrote in message
news:43***************@mail.com...
I'm a C# noob trying to maintain and modify someone else's code.
The previous programmer used a config file to load parameters for a
database connect string. The file is named app.config and it's in the
project and under VSS source control. I'd like to rename the file to
something more appropriate.
I can't find any reference to that filename in the project, and I don't
know when or how the data gets loaded. I'd like someone to illuminate
that for me please.
I'd also like to know how to rename the file and still have it work.
Thanks.