App.Config reading


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: App.Config reading

  1. #1
    Join Date
    Apr 2009
    Posts
    1

    App.Config reading

    I am trying to read the app.config of a winform exe from within a DLL that is called by the EXE.
    I am using the code given below, the variable 'config' is picking up the EXE ok, but how do I access the app config settings from here? I want to retrieve the value 'MyValue'.

    the variable 'configSection' I am using seems to hold nothing of use.
    Any ideas?

  2. #2
    Join Date
    Apr 2007
    Location
    Sterling Heights, Michigan
    Posts
    8,666
    What is the code you are using that is "given below"?
    I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
    Please use [Code]your code goes in here[/Code] tags when posting code.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    Modifications Required For VB6 Apps To Work On Vista

Similar Threads

  1. java problem
    By Transform in forum Java
    Replies: 0
    Last Post: 11-18-2005, 06:54 PM
  2. problem in reading unicode text file
    By jitendrapatel in forum C++
    Replies: 1
    Last Post: 04-21-2005, 06:26 PM
  3. App.Config...Auto-caching and updating??
    By KraCKHed in forum .NET
    Replies: 0
    Last Post: 08-22-2002, 06:28 PM
  4. app.config
    By martin rydman in forum .NET
    Replies: 2
    Last Post: 10-30-2001, 11:00 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center