Click here to Skip to main content
15,921,716 members
Home / Discussions / C#
   

C#

 
GeneralRe: Normal Resources ? Pin
Nish Nishant2-May-02 23:08
sitebuilderNish Nishant2-May-02 23:08 
GeneralRe: Normal Resources ? Pin
James T. Johnson2-May-02 23:12
James T. Johnson2-May-02 23:12 
AnswerRe: Normal Resources ? Pin
James T. Johnson2-May-02 22:43
James T. Johnson2-May-02 22:43 
GeneralRe: Normal Resources ? Pin
ColinDavies2-May-02 22:52
ColinDavies2-May-02 22:52 
GeneralRe: Normal Resources ? Pin
James T. Johnson2-May-02 23:08
James T. Johnson2-May-02 23:08 
Generalapp.config in winforms Pin
2-May-02 18:26
suss2-May-02 18:26 
GeneralRe: app.config in winforms Pin
ez22-May-02 19:16
ez22-May-02 19:16 
GeneralRe: app.config in winforms Pin
Corto Maltese2-May-02 19:41
Corto Maltese2-May-02 19:41 
You can create MyApp.exe.config in the same directory where your app resides,
and than use System.Configuration.ConfigurationSettings to read the configuration file app settings.

Config file example:
<configuration>
<appSettings>
<add key="Database" value="MyDB" />
<add key="Username" value="code" />
<add key="Password" value="project" />
</appSettings>
</configuration


-Gile
GeneralRe: app.config in winforms Pin
Andres Manggini3-May-02 17:28
Andres Manggini3-May-02 17:28 
GeneralDumb Question ! Pin
Nick Parker2-May-02 16:18
protectorNick Parker2-May-02 16:18 
GeneralRe: Dumb Question ! Pin
James T. Johnson2-May-02 17:14
James T. Johnson2-May-02 17:14 
GeneralRe: Dumb Question ! Pin
Nick Parker2-May-02 17:32
protectorNick Parker2-May-02 17:32 
GeneralRe: Dumb Question ! Pin
James T. Johnson2-May-02 17:48
James T. Johnson2-May-02 17:48 
GeneralRe: Dumb Question ! Pin
Christian Graus2-May-02 17:33
protectorChristian Graus2-May-02 17:33 
GeneralRe: Dumb Question ! Pin
James T. Johnson2-May-02 17:45
James T. Johnson2-May-02 17:45 
GeneralRe: Dumb Question ! Pin
Christian Graus2-May-02 17:51
protectorChristian Graus2-May-02 17:51 
GeneralRe: Dumb Question ! Pin
Nick Parker2-May-02 17:37
protectorNick Parker2-May-02 17:37 
GeneralRe: Dumb Question ! Pin
James T. Johnson2-May-02 17:47
James T. Johnson2-May-02 17:47 
GeneralRe: Dumb Question ! Pin
Rickard Andersson202-May-02 20:21
Rickard Andersson202-May-02 20:21 
GeneralDefault values in method declaration Pin
tomiga2-May-02 12:23
tomiga2-May-02 12:23 
GeneralRe: Default values in method declaration Pin
Neil Van Note2-May-02 12:43
Neil Van Note2-May-02 12:43 
GeneralRe: Default values in method declaration Pin
tomiga2-May-02 20:46
tomiga2-May-02 20:46 
GeneralRe: Default values in method declaration Pin
Tom Archer2-May-02 13:05
Tom Archer2-May-02 13:05 
GeneralRe: Default values in method declaration Pin
Christian Graus2-May-02 13:17
protectorChristian Graus2-May-02 13:17 
GeneralRe: Default values in method declaration Pin
Andy Smith2-May-02 17:15
Andy Smith2-May-02 17:15 

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.