multiple configuration files

  • Thread starter Thread starter lobrys
  • Start date Start date
L

lobrys

Hello

Here is my question :

I have a vb.net appli (Dotnet 1.1).
I have a config file that contains personnal settings
(myApplication.exe.config)
I also have a another config file ( anotherSettings.config ) based in the
same structure of a normal configuration file. It contains global settings.

The goal for me, is to overload these 2 files in one file, and use it, in my
application.

Is there a simple way to do that?

Thanks!!!!!!!!!!
bye!
syl
 
I have a vb.net appli (Dotnet 1.1).
I have a config file that contains personnal settings
(myApplication.exe.config)
I also have a another config file ( anotherSettings.config ) based in the
same structure of a normal configuration file. It contains global settings.
The goal for me, is to overload these 2 files in one file, and use it, in my
application.
Is there a simple way to do that?

No, since the application config files are *NOT* intended to be used
for user-specific, personal settings - they're read-only, after all.
They should ONLY be used for app- / system-specific settings affecting
the app for all users.

Store your user settings elsewhere - in the registry, or in a XML file
in e.g. the user's "Isolated Storage" (search MSDN on those keyword to
find out more about it).

Marc
================================================================
Marc Scheuner May The Source Be With You!
Berne, Switzerland m.scheuner -at- inova.ch
 
Back
Top