By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,208 Members | 1,411 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,208 IT Pros & Developers. It's quick & easy.

Help on configuration file sample

P: n/a
Dear all,

I just start to implement a configuration file for my
application with appSettings section and others.

As a startup phase I simply take some ready made example
and see how it works.
And unfortunatly I am not able to retrive any data from
the example

I have the following configuratin file sample :

<add key="Application Name"
value="MyApplication" />

this file is called as the name of my

then in a class I have following lines:
dim appname as string
appname = configuration.ConfigurationSettings.AppSettings
("Application Name")

by executing that line, appname variable return nothing

whats is wrong?

Jul 19 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.