[RESOLVED] [2005] just wondering
ok in the vs2005 i'm just wondering if anyone knows what namespace to import for the configurationmanager... because right now i'm using the ConfigurationSettingsAppSettings and it's telling me that i should be using System.Configuration.ConfigurationManager.AppSettings, however i can't find it anywhere
Re: [2005] just wondering
Re: [2005] just wondering
add the system.configuration.dll to your references...
Re: [2005] just wondering
thanks guys i'd rate ya kleinma but i have to spread some first
Re: [2005] just wondering
its all good.. just doing my unpaid job ;)
Re: [RESOLVED] [2005] just wondering
by the way....
if you look at the MSDN help for a given class, it will tell you what DLL Its located in..
Re: [RESOLVED] [2005] just wondering
that's just it i did and that's why i was so confused... because i knew i could access the configuration without referencing the dll before directly so i didn't even think of that. i'll know better for next time. ;)
Re: [RESOLVED] [2005] just wondering
well the other thing you need to remember is that a namespace doesn't have to be confined to a single DLL... a namespace could span multiple DLL's but certain parts of the namespace are only accessible in code when the DLL containing that part of the namespace is referenced...
a good example of this is the system.web namespace...
create a new VB winform app, and in a sub type
Dim x as system.web. <--- and you will see only 3 classes
but if you add a reference to system.web.dll in your references.. the rest of the namespace is now available to your app...
Re: [RESOLVED] [2005] just wondering