Is it true that Windows Forms don't use config files?

  • Thread starter Thread starter nfr
  • Start date Start date
N

nfr

WROX's "Professional ADO.NET" makes the following statement on page 54 when
discussing obtaining connection strings from a config file:

"In Web applications this file must be name web.config. In Console
applications, the configuration file also ends in .config, but is prefixed
with application name, such as MyApp.exe.config. Windows Forms applications
do not use configuration files."

I am curious why Windows Forms do not use config files and also what about
Windows Service apps (or they treated as "console" apps?)?
 
The .config file is specific to an application (not sure how this relates to
services).

Do a google search for app.config and you will find a solution...

Windows Forms employ the .config file, although in design time it's labeled
as app.com.
 
err app.config
Morgan said:
The .config file is specific to an application (not sure how this relates to
services).

Do a google search for app.config and you will find a solution...

Windows Forms employ the .config file, although in design time it's labeled
as app.com.
 
Back
Top