Re: Structure analogous to web.config in a windows application???

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Matt Berther (mberther_at_hotmail.com)
Date: 09/20/04


Date: Mon, 20 Sep 2004 13:46:30 -0700

Hello Novice,

Using VS.NET, create a file named App.config. If not using VS.NET, create a file named YourExecutableName.exe.config.

The format of this file and method to access it are analogous to the web.config.

--
Matt Berther
http://www.mattberther.com
> Hey everyone - is there a file in a windows application that is
> analogous to  the web.config in ASP.NET applications?
> 
> Basically, I want to store a bunch of strings (that are NOT
> confidential) in  a common configuration file and that I can easily
> access like the web.config  file for ASP.NET applications.
> 
> In summary I would like a place to store configuration information for
> a  windows application and the methods I use to access that
> information.
> 
> Thanks,
> Novice

Quantcast