multiple configuration files

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
 
M

Marc Scheuner [MVP ADSI]

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
 

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