Home All Groups Group Topic Archive Search About
Author
23 Jan 2006 6:23 PM
Joe Van Meer
Hi all,

Why would I be getting a "Type 'AppSettings' is not defined" error when I
have the configuration namespace referenced in my project?  I am trying to
convert my vb6 app and I want to use a configuration file.  1.1 framework

Cheers & thx,  Joe

Author
23 Jan 2006 6:56 PM
Herfried K. Wagner [MVP]
"Joe Van Meer" <jvanm***@eastlink.ca> schrieb:
> Why would I be getting a "Type 'AppSettings' is not defined" error when I
> have the configuration namespace referenced in my project?  I am trying to
> convert my vb6 app and I want to use a configuration file.  1.1 framework

Use 'System.ConfigurationSettings.Configuration.AppSettings'.  'AppSettings'
is a property, not a class.

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>