473,324 Members | 2,246 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

multiple configuration files

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
Jul 21 '05 #1
2 1576

Try using the NIni open source library (http://nini.sourceforge.net/).
NIni include a merge operation.
I hope it could help.

Lionel.

"lobrys" <RE*************@orange.com> a écrit dans le message de news:
uD**************@TK2MSFTNGP14.phx.gbl...
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

Jul 21 '05 #2
>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
Jul 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Fernando Nasser | last post by:
Multiple database services and multiple versions on Red Hat Linux systems The way it works is that we require a specific service script for each database service (that is listening on each port)....
11
by: Mike | last post by:
Looking to find any information on how to properly configure multiple instances of DB2. This is on Win2k db2 ver 7.2. I am basically looking for information on how the multiple instance settings...
6
by: David Young | last post by:
Hello all, I'm quite new to C# (< 6 months) but really love it and is my language of choice ..... but I have one question I've not been able to find out ..... In C++ a #define label in one...
6
by: mark | last post by:
I have an asp.net ecommerce web application on a remote web server. I'm using an Access database on the back end. I've notice a few strange things. When I mimic an multiple user environment by...
5
by: BPearson | last post by:
Hello I would like to have several sites share a single web.config file. To accomplish this, I would point the root of these sites to the same folder. Is there any reason why I might not want to...
4
by: tshad | last post by:
Can I set up multiple pages in the same Location tag? I thought I saw somewhere that I could. I tried the following, but it doesn't work. ***************************************************...
6
by: James Radke | last post by:
Hello, I have a multithreaded windows NT service application (vb.net 2003) that I am working on (my first one), which reads a message queue and creates multiple threads to perform the processing...
2
by: Sam | last post by:
Hi All, I have a solution which consists of multiple projects and each of these projects has their own app.config file. The problem is that all of my projects in the solution pull keys from the...
0
by: CNN_news | last post by:
I would like to run multiple instances of TYPO3 (a cms written in PHP) on a single server. You can run multiple websites in two methods: multisite or multiple instances. In multiple...
1
by: forrie | last post by:
We're running multiple vhosts in an apache-2.x configuration for which we would like to provide separate php.ini files (for different reasons). At the moment, we're unable to do this - the error...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.