Click here to Skip to main content
15,918,193 members
Home / Discussions / C#
   

C#

 
GeneralRe: Custom event in a Control Pin
Nnamdi Onyeyiri15-Sep-02 7:00
Nnamdi Onyeyiri15-Sep-02 7:00 
GeneralRe: Custom event in a Control Pin
Mazdak15-Sep-02 8:43
Mazdak15-Sep-02 8:43 
GeneralPrivileges Pin
Nnamdi Onyeyiri15-Sep-02 3:14
Nnamdi Onyeyiri15-Sep-02 3:14 
GeneralRe: Privileges Pin
Mazdak15-Sep-02 5:14
Mazdak15-Sep-02 5:14 
GeneralRe: Privileges Pin
Nnamdi Onyeyiri15-Sep-02 6:46
Nnamdi Onyeyiri15-Sep-02 6:46 
GeneralRe: Privileges Pin
Mazdak15-Sep-02 6:55
Mazdak15-Sep-02 6:55 
Generalapp config for a C# web service Pin
User 988514-Sep-02 12:29
User 988514-Sep-02 12:29 
GeneralRe: app config for a C# web service Pin
James T. Johnson15-Sep-02 1:58
James T. Johnson15-Sep-02 1:58 
Put a web.config file in the same directory as the web service and put a section in it that looks similar to this:

[Edit: Forgot the configuration tags Blush | :O ]
<configuration>
  <appSettings>
    <add key="settinga" value="valuea">
  </appSettings>
</configuration>
Then when you want to retrieve a value use the AppSettings property of the System.Configuration.ConfigurationSettings class just as you would a WinForms application.

for example:
string valuea = System.Configuration.ConfigurationSettings.AppSettings["settinga"];

James
"And we are all men; apart from the females." - Colin Davies
GeneralRe: app config for a C# web service Pin
User 988515-Sep-02 4:06
User 988515-Sep-02 4:06 
Questionhow can i renme a file in visual c#? Pin
waleed riaz14-Sep-02 11:16
waleed riaz14-Sep-02 11:16 
AnswerRe: how can i renme a file in visual c#? Pin
David Stone14-Sep-02 11:35
sitebuilderDavid Stone14-Sep-02 11:35 
GeneralVS.Net Add-in Pin
Tomas Petricek14-Sep-02 10:14
Tomas Petricek14-Sep-02 10:14 
GeneralRe: VS.Net Add-in Pin
Nnamdi Onyeyiri14-Sep-02 12:05
Nnamdi Onyeyiri14-Sep-02 12:05 
GeneralRe: VS.Net Add-in Pin
Tomas Petricek15-Sep-02 1:30
Tomas Petricek15-Sep-02 1:30 
GeneralRe: VS.Net Add-in Pin
Nnamdi Onyeyiri15-Sep-02 1:42
Nnamdi Onyeyiri15-Sep-02 1:42 
GeneralRe: VS.Net Add-in Pin
James T. Johnson15-Sep-02 1:52
James T. Johnson15-Sep-02 1:52 
GeneralRe: VS.Net Add-in Pin
Tomas Petricek15-Sep-02 3:47
Tomas Petricek15-Sep-02 3:47 
GeneralInternet Speed Pin
Nnamdi Onyeyiri13-Sep-02 23:33
Nnamdi Onyeyiri13-Sep-02 23:33 
GeneralRe: Internet Speed Pin
Rickard Andersson2013-Sep-02 23:36
Rickard Andersson2013-Sep-02 23:36 
GeneralRe: Internet Speed Pin
Nnamdi Onyeyiri13-Sep-02 23:39
Nnamdi Onyeyiri13-Sep-02 23:39 
GeneralRe: Internet Speed Pin
Rickard Andersson2014-Sep-02 5:52
Rickard Andersson2014-Sep-02 5:52 
GeneralRe: Internet Speed Pin
leppie14-Sep-02 7:14
leppie14-Sep-02 7:14 
GeneralDatagrid Update in C# Pin
DaBaseJumper13-Sep-02 20:07
DaBaseJumper13-Sep-02 20:07 
GeneralRe: Datagrid Update in C# Pin
Not Active14-Sep-02 12:54
mentorNot Active14-Sep-02 12:54 
GeneralKeyboard Keys [KeyChar] list Pin
Jassim Rahma13-Sep-02 15:14
Jassim Rahma13-Sep-02 15:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.