473,320 Members | 2,024 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,320 software developers and data experts.

Configuration.AppSettingsReader in com library

I'm trying to read settings in the App.config file in a .NET com library app
using the following code:
System.Configuration.ConfigurationSettings.AppSett ings("foo")

This works fine in ASP.NET, and also in VB.NET Windows app - but no go in
the com library. Any ideas?
Nov 22 '05 #1
0 785

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

Similar topics

1
by: Ian | last post by:
I have an application called "Test.exe" and this application has a config file called "Test.exe.config" and it holds the connection string for the database calls in there. To get the...
0
by: Erick | last post by:
Hi, I have a Installer class used to install my windows service, it was created by the wizard that is in the VS, I just whent into the properties and set up the properties of the ServiceInstaller...
0
by: keyway | last post by:
I'm trying to read settings in the App.config file in a .NET com library app using the following code: System.Configuration.ConfigurationSettings.AppSettings("foo") This works fine in ASP.NET,...
0
by: Javier | last post by:
Hello: I have read about using the XML .config files with Web Applications (Web.config) or console and winforms applications (app.exe.config). But i want to use it with class library in C# and i...
1
by: Bijoy | last post by:
We seem to be having a lovely problem while trying to fetch Keyvalues in the Appsettings section from the Web.config, our program uses threading ( We fetch each table in a Dataset of a Separate...
3
by: FireStarter | last post by:
I know how to read from an application configuration file, by using System.Configuration.AppSettingsReader. This object does not allow writing a value back though. Does anybody know how to do...
2
by: Alpha | last post by:
I'm getting the following error message when I run my C# Window Application from other PC (not my development machine). Can someone tell me how to correct this appSettings Configuration problem?...
2
by: Mat | last post by:
i add values to this file but i don't know how to get them in application.. do i have explicitly to load and read the file using xml reader..or whatever? does any one have a sample?
2
by: RD | last post by:
This code builds without errors, the line is in my declaration section of my form.yet when I execute it I get an unhandled error. Weird thing is I been testing this app all day yesterday, made no...
2
by: asanford | last post by:
Hello, Is there a way to associate and set the credentials for a web proxy via the config file? We are writing a client program to access both web services (via HttpWebClientProtocol...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
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...
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: 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...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
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...

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.