Click here to Skip to main content
15,894,410 members
Home / Discussions / C#
   

C#

 
GeneralRe: The form refresh so slow Pin
Fired.Fish.Gmail16-Mar-10 5:50
Fired.Fish.Gmail16-Mar-10 5:50 
QuestionHow to forbid start of the second copy of the program in .net? Pin
arsendem15-Mar-10 19:37
arsendem15-Mar-10 19:37 
AnswerRe: How to forbid start of the second copy of the program in .net? Pin
dan!sh 15-Mar-10 19:42
professional dan!sh 15-Mar-10 19:42 
AnswerRe: How to forbid start of the second copy of the program in .net? Pin
arsendem15-Mar-10 20:07
arsendem15-Mar-10 20:07 
AnswerRe: How to forbid start of the second copy of the program in .net? Pin
Wes Aday16-Mar-10 4:09
professionalWes Aday16-Mar-10 4:09 
Questionwhen does the assembly.exe.config file is created Pin
prasadbuddhika15-Mar-10 18:23
prasadbuddhika15-Mar-10 18:23 
AnswerRe: when does the assembly.exe.config file is created Pin
dan!sh 15-Mar-10 18:54
professional dan!sh 15-Mar-10 18:54 
AnswerRe: when does the assembly.exe.config file is created Pin
ramzg15-Mar-10 19:19
ramzg15-Mar-10 19:19 
Hi,

You can right-click on your project (from the solution explorer) and choose Add-->New Item and select Application Configuration File from the dialog box that pops up and click OK. This will add an App.Config file to your project. This will be automatically renamed to Assembly.exe.config when you run your application.

You can use the same XML data as given in the link to the post that d@nish had posted.

Also, if you use

string test1 = System.Configuration.ConfigurationSettings.AppSettings["Key1"];

in your code, the VS compiler might throw a warning that this is deprecated.

To get through that warning, Add reference to System.Configuration component in your project and use :

string test1 = System.Configuration.ConfigurationManager.AppSettings["key1"];

Hope this helps.

Thanks,
Ram
QuestionVideo Overlay Pin
abalbo15-Mar-10 14:11
abalbo15-Mar-10 14:11 
AnswerRe: Video Overlay Pin
Super Lloyd15-Mar-10 17:37
Super Lloyd15-Mar-10 17:37 
QuestionWPF: how do I write output from methods invoked through an event to a textbox in window1? Pin
Bragee15-Mar-10 12:57
Bragee15-Mar-10 12:57 
AnswerRe: WPF: how do I write output from methods invoked through an event to a textbox in window1? Pin
Not Active15-Mar-10 14:12
mentorNot Active15-Mar-10 14:12 
GeneralRe: WPF: how do I write output from methods invoked through an event to a textbox in window1? Pin
Bragee16-Mar-10 1:16
Bragee16-Mar-10 1:16 
GeneralRe: WPF: how do I write output from methods invoked through an event to a textbox in window1? Pin
Pete O'Hanlon16-Mar-10 2:16
mvePete O'Hanlon16-Mar-10 2:16 
GeneralRe: WPF: how do I write output from methods invoked through an event to a textbox in window1? Pin
Not Active16-Mar-10 2:26
mentorNot Active16-Mar-10 2:26 
Questioncheck if 5 min have passed Pin
Yustme15-Mar-10 12:53
Yustme15-Mar-10 12:53 
AnswerRe: check if 5 min have passed Pin
Luc Pattyn15-Mar-10 13:00
sitebuilderLuc Pattyn15-Mar-10 13:00 
GeneralRe: check if 5 min have passed Pin
Yustme15-Mar-10 13:40
Yustme15-Mar-10 13:40 
GeneralRe: check if 5 min have passed Pin
Luc Pattyn15-Mar-10 13:46
sitebuilderLuc Pattyn15-Mar-10 13:46 
GeneralRe: check if 5 min have passed Pin
Yustme15-Mar-10 13:49
Yustme15-Mar-10 13:49 
GeneralRe: check if 5 min have passed Pin
Luc Pattyn15-Mar-10 14:01
sitebuilderLuc Pattyn15-Mar-10 14:01 
GeneralRe: check if 5 min have passed Pin
Yustme15-Mar-10 14:08
Yustme15-Mar-10 14:08 
GeneralRe: check if 5 min have passed Pin
Luc Pattyn15-Mar-10 14:12
sitebuilderLuc Pattyn15-Mar-10 14:12 
GeneralRe: check if 5 min have passed Pin
Yustme16-Mar-10 3:17
Yustme16-Mar-10 3:17 
GeneralRe: check if 5 min have passed Pin
Luc Pattyn16-Mar-10 3:56
sitebuilderLuc Pattyn16-Mar-10 3:56 

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.