Click here to Skip to main content
15,890,123 members
Home / Discussions / C#
   

C#

 
AnswerRe: FileSystemWatcher how to wait for file copy completion? Pin
Ennis Ray Lynch, Jr.7-Feb-11 4:26
Ennis Ray Lynch, Jr.7-Feb-11 4:26 
AnswerRe: FileSystemWatcher how to wait for file copy completion? Pin
Luc Pattyn7-Feb-11 4:30
sitebuilderLuc Pattyn7-Feb-11 4:30 
AnswerRe: FileSystemWatcher how to wait for file copy completion? Pin
Pete O'Hanlon7-Feb-11 5:17
mvePete O'Hanlon7-Feb-11 5:17 
AnswerRe: FileSystemWatcher how to wait for file copy completion? Pin
Dave Kreskowiak7-Feb-11 6:28
mveDave Kreskowiak7-Feb-11 6:28 
QuestionProblem by using an Object and a variable inside another function [modified] Pin
nstk7-Feb-11 2:59
nstk7-Feb-11 2:59 
GeneralRe: Problem by using an Object and a variable inside another function Pin
musefan7-Feb-11 3:15
musefan7-Feb-11 3:15 
GeneralRe: Problem by using an Object and a variable inside another function Pin
nstk7-Feb-11 7:19
nstk7-Feb-11 7:19 
Questiondynamic way to analyse settings Pin
arkiboys7-Feb-11 2:55
arkiboys7-Feb-11 2:55 
How is it possible to make a dynamic system so that everytime a new setting is added to the app.config file, the system can take that into consideration?
For example, my present system, looks in the app.config file and gets the value of a key i.e.

<add key="AllowedTime" value="5"/>
<add key="MyValue" value="10"/>

and the system does checks based on this figures. For example if the retrieved value i.e. 5 is less than the MyValue in the app.config file...

I can go on and add more settings in the app.config file and add the logic to the c# code, but I wonder if there is a generic way so that as long as the setting is entered in such a manor so that the c# code can analyse that without me adding to the c# code each time there is a new setting in the config file.?
What do you think?
Thanks
AnswerRe: dynamic way to analyse settings Pin
musefan7-Feb-11 3:08
musefan7-Feb-11 3:08 
AnswerRe: dynamic way to analyse settings Pin
#realJSOP7-Feb-11 3:42
mve#realJSOP7-Feb-11 3:42 
Questionmessenger Pin
om_metab7-Feb-11 1:19
om_metab7-Feb-11 1:19 
AnswerRe: messenger Pin
OriginalGriff7-Feb-11 1:28
mveOriginalGriff7-Feb-11 1:28 
GeneralRe: messenger Pin
om_metab7-Feb-11 1:43
om_metab7-Feb-11 1:43 
AnswerRe: messenger Pin
Keith Barrow7-Feb-11 1:42
professionalKeith Barrow7-Feb-11 1:42 
GeneralRe: messenger Pin
Abhinav S7-Feb-11 2:27
Abhinav S7-Feb-11 2:27 
GeneralRe: messenger Pin
Keith Barrow7-Feb-11 4:26
professionalKeith Barrow7-Feb-11 4:26 
GeneralRe: messenger Pin
Bernhard Hiller8-Feb-11 3:07
Bernhard Hiller8-Feb-11 3:07 
GeneralRe: messenger Pin
Keith Barrow8-Feb-11 9:41
professionalKeith Barrow8-Feb-11 9:41 
AnswerRe: messenger Pin
PIEBALDconsult7-Feb-11 1:45
mvePIEBALDconsult7-Feb-11 1:45 
GeneralRe: messenger Pin
om_metab7-Feb-11 2:18
om_metab7-Feb-11 2:18 
GeneralRe: messenger PinPopular
Pete O'Hanlon7-Feb-11 2:37
mvePete O'Hanlon7-Feb-11 2:37 
GeneralRe: messenger Pin
Wes Aday7-Feb-11 4:13
professionalWes Aday7-Feb-11 4:13 
GeneralRe: messenger Pin
fjdiewornncalwe7-Feb-11 4:38
professionalfjdiewornncalwe7-Feb-11 4:38 
GeneralRe: messenger Pin
Pete O'Hanlon7-Feb-11 4:40
mvePete O'Hanlon7-Feb-11 4:40 
GeneralRe: messenger Pin
fjdiewornncalwe7-Feb-11 6:17
professionalfjdiewornncalwe7-Feb-11 6:17 

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.