Configuration Question

  • Thread starter Thread starter AMP
  • Start date Start date
A

AMP

Hello,
I asked a similar question yesterday with no responces.
I want to read and write to a configuration file with user
settings.(Windows App)
Are there any good books, or sites that explain
Properties.Settings.Default and such.
Or am I supposed to be using the Configuration classes?
When you decide to use the app.config you end up with
Settings.Settings,Settings.designer,app.config.....
I want to learn how these operate together.
Thanks
Mike
 
You can start with this concept

"Custom Configuration Handler"

I've written on here:

http://sholliday.spaces.live.com/blog/
2/8/2006
Smarter Email/Smtp setup with DotNet Configuration Sections (1.1 and 2.0)


Again, you don't want to concentrate on the email part of my solution, but
how I'm storing values in my own configuration section, and how to get at
them.
This is 1.1 code.

But since you didnt' get any responses, I thought I'd offer what I could.
 
Mike,
I asked a similar question yesterday with no responces.
I want to read and write to a configuration file with user
settings.(Windows App)
Are there any good books, or sites that explain
Properties.Settings.Default and such.
Or am I supposed to be using the Configuration classes?
When you decide to use the app.config you end up with
Settings.Settings,Settings.designer,app.config.....
I want to learn how these operate together.

See this MSDN article as displayed in the VS2005 Start Page today:

<http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvs05/html/SettingsCS_RL.asp>

That should point you in the right direction.

Regards,

Richard
 
Back
Top