Filippo,
Within a Windows App, the web.config is called app.config, you continue to
use ConfigurationSettings.AppSettings to get values &
ConfigurationSettings.GetConfig to get custom sections.
Within your VS.NET project you need to add your config file to your VS.NET
project's root folder as app.config, it needs to be named "app.config"
without the quotes. When you
build your project VS.NET (both 2002 & 2003) will copy the app.config file
from the project root to your output folder and name it appropriately
(myproject.exe.config).
It is important that you add the file to your VS.NET project as app.config.
While when you deploy your app you call it myproject.exe.config where
myproject is the name of your executable, and myproject.exe.config is in the
same folder as your exe.
Hope this helps
Jay
"Filippo" <pa********@hotmail.com> wrote in message
news:u$**************@tk2msftngp13.phx.gbl...
Hi there,
I am writing a Windows App and need a Configuration file.
I wonder if I can use the WEB.CONFIG file to store my values.
I also wonder if I can use the ConfigurationSettings.AppSettings and if
so, what is the file name that it automatically look for.
Thanks,
Filippo