S
Sai
Hi,
I am using VSTO 2005 Beta for building an excel application. I added
application configuration file to the project (app.config) and it has the
following section in it.
<configuration>
<appSettings>
<add key="serv" value="test" />
</appSettings>
</configuration>
I am unable to get the value for key serv in my workbook startup event.
When I query
System.Configuration.ConfigurationManager.AppSettings("serv").tostring, I
get a message saying that the value is nothig.
When I query the hasKeys property, I get FALSE.
I need help on understanding how I can use an external file to pass certain
parameters to my code.
I would really appreciate any help I can get.
Thanks,
sai
I am using VSTO 2005 Beta for building an excel application. I added
application configuration file to the project (app.config) and it has the
following section in it.
<configuration>
<appSettings>
<add key="serv" value="test" />
</appSettings>
</configuration>
I am unable to get the value for key serv in my workbook startup event.
When I query
System.Configuration.ConfigurationManager.AppSettings("serv").tostring, I
get a message saying that the value is nothig.
When I query the hasKeys property, I get FALSE.
I need help on understanding how I can use an external file to pass certain
parameters to my code.
I would really appreciate any help I can get.
Thanks,
sai