Click here to Skip to main content
15,887,350 members
Home / Discussions / C#
   

C#

 
QuestionFacade design pattern examples Pin
Member 39190495-Sep-08 8:52
Member 39190495-Sep-08 8:52 
AnswerRe: Facade design pattern examples Pin
MidwestLimey5-Sep-08 11:11
professionalMidwestLimey5-Sep-08 11:11 
GeneralRe: Facade design pattern examples Pin
Member 39190496-Sep-08 5:53
Member 39190496-Sep-08 5:53 
QuestionThe preferred way to return a DataSet in ADO.NET 2.0 Pin
Member 39190495-Sep-08 8:20
Member 39190495-Sep-08 8:20 
AnswerRe: The preferred way to return a DataSet in ADO.NET 2.0 Pin
PIEBALDconsult5-Sep-08 13:10
mvePIEBALDconsult5-Sep-08 13:10 
GeneralRe: The preferred way to return a DataSet in ADO.NET 2.0 Pin
Mycroft Holmes5-Sep-08 13:52
professionalMycroft Holmes5-Sep-08 13:52 
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 

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.