Configuration Question

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
 
S

sloan

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.
 
R

Richard

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top