RE: Custom settings in App.config



Hi Joe,

First of all, I would like to confirm my understanding of your issue. From
your description, I understand that you need to read the settings in
app.config file as a configuration file instead of an xml file. If there is
any misunderstanding, please feel free to let me know.

You can try to use System.Configuration.AppSettingsReader or
System.Configuration.ConfigurationSettings class to do this. The
ConfigurationSettings.AppSettings property contains a name/value collection
of the keys in your app.config file. Also please check the following link
for more information.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/
vboriintroductiontoapplicationsettingstorage.asp

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

.



Relevant Pages

  • Re: Copy a project
    ... > Hi Dale, ... I would like to confirm my understanding of your issue. ... > rights." ... Prev by Date: ...
    (microsoft.public.vstudio.sourcesafe)
  • RE: question regarding this httpmodule
    ... I would like to confirm my understanding of your issue. ... I understand that you need to implement the IHttpModule ... Prev by Date: ...
    (microsoft.public.dotnet.general)
  • RE: Differences in .Resources files between Visual Studio 2005 beta1 a
    ... I think you may try to post in vs2005 forum. ... Thanks for your understanding! ... This posting is provided "AS IS" with no warranties, and confers no rights. ... Prev by Date: ...
    (microsoft.public.dotnet.framework)
  • RE: Display hyperlink in EventLog
    ... I would like to confirm my understanding of your issue. ... I understand that you need to write a clickable hyperlink ... Prev by Date: ...
    (microsoft.public.dotnet.languages.csharp)
  • RE: Question about functionality of the Exchange_DSAccessDC class
    ... Thanks for your understanding! ... Best regards, ... This posting is provided "AS IS" with no warranties, and confers no rights. ... Prev by Date: ...
    (microsoft.public.win32.programmer.wmi)