app.config

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • aniket5566
    New Member
    • Oct 2007
    • 1

    app.config

    hi, I want to define a folderpath in app.config & read it into vb.net2005's vb file please guide
    Last edited by aniket5566; Oct 20 '07, 07:59 AM. Reason: vb.net 2005
  • kenobewan
    Recognized Expert Specialist
    • Dec 2006
    • 4871

    #2
    One way may be to use <add key="" value=""> in the web config. Is this win or web?

    Comment

    • bhar
      Banned
      New Member
      • Apr 2006
      • 37

      #3
      Hi,

      Information is stored as Key-Value pairs. After we write the data source information in a program, it will be difficult to change the data source information. This will create problems when we deploy the programs from test server to production servers.

      Till .Net was released this information was stored this information in .ini files or in system registry. It is not easy job to open the registry, locate entries and make appropriate changes.

      .NET gives a simple and easy solution for this problem - the Application Configuration File.
      Last edited by pbmods; Oct 22 '07, 11:58 AM. Reason: Removed commercial link.

      Comment

      Working...