TaylorMichaelL
Application settings are stored in the app.config file. You'll find a section that contains each of your settings along with the type and default value. This allows the application at runtime to get access to the default settings available. If you define a setting as user scope then the setting will also be stored in the user's local config file (since they won't have write access to the app config). This probably only occurs when the user changes the setting (through your UI). Nevertheless the app.config holds the settings for the application plus the defaults for the user settings.
Now settings.setting is a code file. If you open it up (the actual source file, double clicking will take you to the project's settings page) you'll find that it is nothing more than a class that exposes each of the settings from the config file as properties. This allows you to programmatically access the settings at runtime without having to interact with the configuration subsystem (which is how you access the app.config) file.
You almost never should mess with the settings.setting file. It is dynamically generated each time you use the project property pages to add or edit a setting. You should also normally not muck with the app.config settings either as you might mess up the syntax. Instead you should use the project's property pages to add and edit settings. However if you wanted to, for example, copy the settings from one application to another you could open the app.config file and copy the section from one application to another. You would then need to open the project's property pages to force the IDE to generate/update the settings.setting file.
Michael Taylor - 12/28/06
http://p3net.mvps.org