----------------------------------------------------------- New Message on BDOTNET
----------------------------------------------------------- From: SivaDotNet Message 4 in Discussion Hi Anandraj, It's App.config for windows based applications.Windows applications in VS.NET uses the name 'app.config' by default for the configuration file. This will not be automatically created when you create a Windows application. If you need a configuration file for your application, open your project in VS.NET, go to the 'Solution Explorer' and right click on the project name. Choose Add > Add new item from the menu and select 'Application Configuration file' from the list of choices. This will create an app.config file for you in the application root. By default, the app.config file will have the following content: <?xml version="1.0" encoding="utf-8" ?> <configuration> </configuration> To store values in configuration file, you can create xml elements in the format <add key="MyKey" value="MyValue" /> See the sample config entries below: <?xml version="1.0" encoding= "utf-8" ?> <configuration> <appSettings> <add key="DatabasePath" value="c:\\projects\data\MyDataFile.mdb" /> </appSettings> </configuration> HTH, Cheers!! Siva ----------------------------------------------------------- To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings. http://groups.msn.com/bdotnet/_emailsettings.msnw Need help? If you've forgotten your password, please go to Passport Member Services. http://groups.msn.com/_passportredir.msnw?ppmprop=help For other questions or feedback, go to our Contact Us page. http://groups.msn.com/contact If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list. mailto:[EMAIL PROTECTED]
