|
-
Mar 31st, 2005, 09:11 PM
#1
Thread Starter
New Member
app.config help !
ok.. i give up txt file, now i using app.config but problems come one after another T_T
this is xml content.
<?xml version="1.0" encoding="utf-8" ?>
<configuration >
<appsetting>
<add key="Background" value="-65543"/>
</appsetting>
</configuration>
this is how i get the value.
Me.BackColor = Color.FromArgb(CType(New System.Configuration.AppSettingsReader().GetValue("Background", GetType(String)), String))
this is the error i got.
An unhandled exception of type 'System.Configuration.ConfigurationException' occurred in system.dll
Additional information: Unrecognized configuration section appsetting
help !
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
|