Hi Linda,
I can compile it fine with your example. Steps I followed:
1. Add the assembly reference to System.Configuration.dll to the project references.
2. Add a "using System.Configuration" to the top of the class.
Then you should be able to use the ConfigurationManager class as follows:
string executableString = System.Configuration.ConfigurationManager.AppSettings.Get("javaExecString");
string parametersString = ConfigurationManager.AppSettings.Get("javaParamString");
string serverString = ConfigurationManager.AppSettings.Get("javaServerString");
- Craig
"If you're not prepared to be wrong, you will never come up with anything original."
- Sir Ken Robinson