![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
i have an Add-in on Visual studio 2003, i added an app.config file and i add
this code: ?xml version="1.0" encoding="utf-8" ? configuration appSettings add key="NAME" value="MONITOR.TXT"/ /appSettings /configuration in the code of the Connect.cs file i try to read thi value string name = ConfigurationSettings.AppSettings.Get("NAME"); the result is allways an empty string, how can i read this value |
Ads |
#2
|
|||
|
|||
![]()
Hi,
i have an Add-in on Visual studio 2003, i added an app.config file and i add this code: ?xml version="1.0" encoding="utf-8" ? configuration appSettings add key="NAME" value="MONITOR.TXT"/ /appSettings /configuration in the code of the Connect.cs file i try to read thi value string name = ConfigurationSettings.AppSettings.Get("NAME"); the result is allways an empty string, how can i read this value Was the app.config copied to the executables directory and named yourAppName.exe.config -- SvenC |
#3
|
|||
|
|||
![]() "SvenC" wrote: Hi, i have an Add-in on Visual studio 2003, i added an app.config file and i add this code: ?xml version="1.0" encoding="utf-8" ? configuration appSettings add key="NAME" value="MONITOR.TXT"/ /appSettings /configuration in the code of the Connect.cs file i try to read thi value string name = ConfigurationSettings.AppSettings.Get("NAME"); the result is allways an empty string, how can i read this value Was the app.config copied to the executables directory and named yourAppName.exe.config -- SvenC the outlook add-in don't have executables files (.exe), only dll, and for that reason i can't do it Do you have anoter tip |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Picture config | Anthony | Outlook - Installation | 1 | June 7th 07 04:00 PM |
config problem - outlook failed to register a vbscript.dll | brij | Outlook - Installation | 0 | April 4th 07 01:02 PM |
sent items config | [email protected] | Outlook - Fax Functions | 3 | February 9th 07 11:22 PM |
what is a 553 5.3.5 config. error | HVAC1952 | Outlook - Installation | 1 | May 18th 06 03:44 PM |
PRF config | Jared | Outlook - Installation | 1 | March 24th 06 06:26 PM |