473,387 Members | 1,569 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,387 software developers and data experts.

Reading Another Application App.exe.config file

I have a basic console application that uses a app.exe.config file for all
the application settings. The application through several revisions now has
over 100 options that are set in the app.exe.config file. We decided to
create a Windows Application that will configure this file.

Is there any easy way to have have this configuration application read the
other applications app.exe.config file so that the values can be accessed
through "ConfigurationSettings.AppSettings.Get"

Thanks
Amy
Nov 15 '05 #1
2 2853
Presumably your configuration application will need to write the information
back out to the config file, right? If that is the case, then you may not
need to use the build-in config classes. Just read the configuration files
into your application as standard XML and manage it that way.

"Amy L." <am**@paxemail.com> wrote in message
news:%2***************@TK2MSFTNGP11.phx.gbl...
I have a basic console application that uses a app.exe.config file for all
the application settings. The application through several revisions now has over 100 options that are set in the app.exe.config file. We decided to
create a Windows Application that will configure this file.

Is there any easy way to have have this configuration application read the
other applications app.exe.config file so that the values can be accessed
through "ConfigurationSettings.AppSettings.Get"

Thanks
Amy

Nov 15 '05 #2
Presumably your configuration application will need to write the information
back out to the config file, right? If that is the case, then you may not
need to use the build-in config classes. Just read the configuration files
into your application as standard XML and manage it that way.

"Amy L." <am**@paxemail.com> wrote in message
news:%2***************@TK2MSFTNGP11.phx.gbl...
I have a basic console application that uses a app.exe.config file for all
the application settings. The application through several revisions now has over 100 options that are set in the app.exe.config file. We decided to
create a Windows Application that will configure this file.

Is there any easy way to have have this configuration application read the
other applications app.exe.config file so that the values can be accessed
through "ConfigurationSettings.AppSettings.Get"

Thanks
Amy

Nov 15 '05 #3

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

Similar topics

1
by: Amy L. | last post by:
I have a basic console application that uses a app.exe.config file for all the application settings. The application through several revisions now has over 100 options that are set in the...
1
by: Paul Fi | last post by:
I have this problem with .NET remoting: my remote class is called RemoteHandler which implements an interface called IEazyRemoting which has only one method to be implemented which is my server...
3
by: spacekid | last post by:
Hi there I am exposing a c# assembly as a COM component (regasm /codebase) and calling it from classic asp. When I try to call the ConfigurationSettings.AppSettings function in the c# assembly,...
2
by: Tony Jones | last post by:
Is it possible for me to create a class library DLL and have it read it's configuration settings from the web.config of the ASP.NET application referencing it? IE - if I call...
2
by: news.microsoft.com | last post by:
Hi After conducting a several searches, I wasn't sure where to post this question. So my apologiesbefore hand for double posting this and possibly posting to the wrong forum(s). Okay, I have...
1
by: comic_rage | last post by:
Hi, I am trying to read from my application config file and keep getting null. Here is my config file My application is called SampleApp.exe
2
by: marek zegarek | last post by:
Hello! On my server I have Sharepoint portal server as default web site I create there a web application folder with form.aspx file. When I'm trying to run aspx, i get an error. Page is trying...
5
by: alf | last post by:
Hi folks, I'm trying to read a web.config section using RoleManagerSection settings = (RoleManagerSection)System.Configuration.ConfigurationManager.GetSection("system.web/roleManager"); and I...
1
by: M Irfan | last post by:
Hello all, Recently I have started working in .NET 2.0. I am developing a web service application that references a DLL component written in C# 2.0. The component has its own config file which...
1
by: neeraj | last post by:
Hi all I have developed desktop application in c#.net. I have installed it on 15 to 20 computers which all are in network. Application having some setting in app.config file. My problem it...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.