Click here to Skip to main content
15,922,512 members
Home / Discussions / C#
   

C#

 
QuestionRun two programs at once. Pin
jumbojs5-Sep-08 7:30
jumbojs5-Sep-08 7:30 
AnswerRe: Run two programs at once. Pin
Alan N5-Sep-08 8:40
Alan N5-Sep-08 8:40 
Hi,
I think your problem is more about design rather than any particular language. If I read you correctly your current design is interactive and prompts the user for source and target directories.

When running unattended what is your source of directory data? One solution would be to provide a command line interface. e.g.

FileCopier srcdir targetdir

Your code could then do the following:

1) If there are any command line arguments assume that this is an unattended run.
2) Validate the arguments to ensure that the directories exist.
3) Perform your actions on the src and dest directories.
4) Write a log file so that you can check what happened when you weren't there.

Hope that helps, ....Alan.
AnswerRe: Run two programs at once. Pin
PIEBALDconsult5-Sep-08 13:12
mvePIEBALDconsult5-Sep-08 13:12 
GeneralRe: Run two programs at once. Pin
jumbojs5-Sep-08 16:28
jumbojs5-Sep-08 16:28 
QuestionProgramatically load textfile into TextBox... Pin
jas0n235-Sep-08 7:14
jas0n235-Sep-08 7:14 
AnswerRe: Programatically load textfile into TextBox... Pin
led mike5-Sep-08 7:28
led mike5-Sep-08 7:28 
AnswerRe: Programatically load textfile into TextBox... Pin
jumbojs5-Sep-08 7:34
jumbojs5-Sep-08 7:34 
AnswerRe: Programatically load textfile into TextBox... Pin
Manas Bhardwaj5-Sep-08 10:10
professionalManas Bhardwaj5-Sep-08 10:10 
QuestionC# View contents of picture field on gridview when row is selected. Pin
technette5-Sep-08 6:30
technette5-Sep-08 6:30 
GeneralRe: C# View contents of picture field on gridview when row is selected. Pin
led mike5-Sep-08 7:29
led mike5-Sep-08 7:29 
GeneralRe: C# View contents of picture field on gridview when row is selected. Pin
technette5-Sep-08 7:37
technette5-Sep-08 7:37 
AnswerRe: C# View contents of picture field on gridview when row is selected. Pin
technette5-Sep-08 10:18
technette5-Sep-08 10:18 
QuestioncrystalReportViewer Pin
Yakovb5-Sep-08 5:51
Yakovb5-Sep-08 5:51 
QuestionSomething like hsqldb??? (besides sharpsqldb)... Pin
Guilherme Morais5-Sep-08 5:01
Guilherme Morais5-Sep-08 5:01 
AnswerRe: Something like hsqldb??? (besides sharpsqldb)... Pin
Blue_Boy5-Sep-08 5:07
Blue_Boy5-Sep-08 5:07 
GeneralRe: Something like hsqldb??? (besides sharpsqldb)... Pin
Guilherme Morais5-Sep-08 5:26
Guilherme Morais5-Sep-08 5:26 
GeneralRe: Something like hsqldb??? (besides sharpsqldb)... Pin
mark_w_5-Sep-08 5:30
mark_w_5-Sep-08 5:30 
GeneralRe: Something like hsqldb??? (besides sharpsqldb)... Pin
Guilherme Morais5-Sep-08 5:35
Guilherme Morais5-Sep-08 5:35 
QuestionCan we show an imageBox by toolTip? Pin
Mohammad Dayyan5-Sep-08 4:38
Mohammad Dayyan5-Sep-08 4:38 
AnswerRe: Can we show an imageBox by toolTip? Pin
vikas amin5-Sep-08 6:21
vikas amin5-Sep-08 6:21 
QuestionGetting application version numbers in C# Pin
Matt Fishbeck5-Sep-08 3:53
Matt Fishbeck5-Sep-08 3:53 
AnswerRe: Getting application version numbers in C# Pin
DaveyM695-Sep-08 4:04
professionalDaveyM695-Sep-08 4:04 
AnswerRe: Getting application version numbers in C# Pin
#realJSOP5-Sep-08 4:26
professional#realJSOP5-Sep-08 4:26 
GeneralRe: Getting application version numbers in C# Pin
Manas Bhardwaj5-Sep-08 4:28
professionalManas Bhardwaj5-Sep-08 4:28 
GeneralRe: Getting application version numbers in C# Pin
Matt Fishbeck5-Sep-08 4:50
Matt Fishbeck5-Sep-08 4:50 

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.