Click here to Skip to main content
15,881,841 members
Home / Discussions / C#
   

C#

 
AnswerRe: Monitoring Applications and Processes Pin
Bernhard Hiller6-Mar-13 23:24
Bernhard Hiller6-Mar-13 23:24 
GeneralRe: Monitoring Applications and Processes Pin
mphill47447-Mar-13 5:25
mphill47447-Mar-13 5:25 
AnswerRe: Monitoring Applications and Processes Pin
jschell7-Mar-13 8:40
jschell7-Mar-13 8:40 
Questionc# file directory structure change Pin
classy_dog6-Mar-13 10:19
classy_dog6-Mar-13 10:19 
AnswerRe: c# file directory structure change Pin
Matt T Heffron6-Mar-13 12:42
professionalMatt T Heffron6-Mar-13 12:42 
GeneralRe: c# file directory structure change Pin
classy_dog6-Mar-13 18:50
classy_dog6-Mar-13 18:50 
GeneralRe: c# file directory structure change Pin
Matt T Heffron7-Mar-13 8:29
professionalMatt T Heffron7-Mar-13 8:29 
AnswerRe: c# file directory structure change Pin
Jegan Thiyagesan6-Mar-13 13:03
Jegan Thiyagesan6-Mar-13 13:03 
Hi,
you can set the "ConfigurationSettings.AppSettings["tLocation"]" somewhere in your code or settings to pick up the root directory. The get all the sub directories using DirectoryInfo, and for each directory in directiories check for files.

In addition the ConfigurationSettings.AppSettings property is obsolete from .Net 2.0 framework, you should not be using that property. Instead you should be using ConfigurationManager.AppSettings.

http://msdn.microsoft.com/en-us/library/system.configuration.configurationsettings.appsettings.aspx[^]

Regards
Jegan
Think! Don't write a line of code unless you absolutely need to.

GeneralRe: c# file directory structure change Pin
classy_dog6-Mar-13 18:45
classy_dog6-Mar-13 18:45 
GeneralRe: c# file directory structure change Pin
Jegan Thiyagesan6-Mar-13 21:17
Jegan Thiyagesan6-Mar-13 21:17 
Questionpass Convert.ToDateTime to date in MysqlDataType Pin
Jassim Rahma6-Mar-13 2:21
Jassim Rahma6-Mar-13 2:21 
AnswerRe: pass Convert.ToDateTime to date in MysqlDataType Pin
Eddy Vluggen6-Mar-13 3:16
professionalEddy Vluggen6-Mar-13 3:16 
AnswerRe: pass Convert.ToDateTime to date in MysqlDataType Pin
OriginalGriff6-Mar-13 4:50
mveOriginalGriff6-Mar-13 4:50 
GeneralRe: pass Convert.ToDateTime to date in MysqlDataType Pin
Eddy Vluggen6-Mar-13 4:58
professionalEddy Vluggen6-Mar-13 4:58 
AnswerRe: pass Convert.ToDateTime to date in MysqlDataType Pin
Wayne Gaylard6-Mar-13 5:03
professionalWayne Gaylard6-Mar-13 5:03 
AnswerRe: pass Convert.ToDateTime to date in MysqlDataType Pin
jschell6-Mar-13 8:42
jschell6-Mar-13 8:42 
Questionplz check my sql code. is it correct ? Pin
Member 103026305-Mar-13 22:38
Member 103026305-Mar-13 22:38 
AnswerRe: plz check my sql code. is it correct ? Pin
Pete O'Hanlon5-Mar-13 22:41
mvePete O'Hanlon5-Mar-13 22:41 
GeneralRe: plz check my sql code. is it correct ? Pin
Member 103026305-Mar-13 23:43
Member 103026305-Mar-13 23:43 
GeneralRe: plz check my sql code. is it correct ? Pin
Pete O'Hanlon5-Mar-13 23:50
mvePete O'Hanlon5-Mar-13 23:50 
AnswerRe: plz check my sql code. is it correct ? Pin
PIEBALDconsult6-Mar-13 16:55
mvePIEBALDconsult6-Mar-13 16:55 
GeneralRe: plz check my sql code. is it correct ? Pin
Member 1030263012-Mar-13 19:15
Member 1030263012-Mar-13 19:15 
QuestionCreate DirectoryEntry Error Pin
arkno15-Mar-13 22:18
arkno15-Mar-13 22:18 
AnswerRe: Create DirectoryEntry Error Pin
Pete O'Hanlon5-Mar-13 22:45
mvePete O'Hanlon5-Mar-13 22:45 
QuestionReplacing items within a string Pin
Goaty651095-Mar-13 13:25
Goaty651095-Mar-13 13:25 

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.