|
-
Mar 20th, 2006, 12:21 PM
#1
Thread Starter
Addicted Member
VB2005 App.config
Hello,
Does anyone have a code example on how to read/write to the app.config file within an application? Here is a sample from my file:
<configuration>
<appSettings>
<add key="Authentication" value="Windows"/>
How would I read that value? It's NOT the same way you would do it in 2003. I tried but when I tried using
configuration.configurationsettings.getconfig("Authentication"), I get the message that "This method is obsolete, use system.configuration.configurationmanager.getsection instead."
But that method does not work either. Any ideas?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|