Click here to Skip to main content
15,884,472 members
Home / Discussions / C#
   

C#

 
Questiondebug console application Pin
dcof5-Sep-12 6:47
dcof5-Sep-12 6:47 
AnswerRe: debug console application Pin
Pete O'Hanlon5-Sep-12 6:58
mvePete O'Hanlon5-Sep-12 6:58 
GeneralRe: debug console application Pin
dcof5-Sep-12 7:58
dcof5-Sep-12 7:58 
GeneralRe: debug console application Pin
Pete O'Hanlon5-Sep-12 8:09
mvePete O'Hanlon5-Sep-12 8:09 
AnswerRe: debug console application Pin
Dave Kreskowiak5-Sep-12 7:32
mveDave Kreskowiak5-Sep-12 7:32 
GeneralRe: debug console application Pin
dcof5-Sep-12 8:02
dcof5-Sep-12 8:02 
GeneralRe: debug console application Pin
Dave Kreskowiak5-Sep-12 12:35
mveDave Kreskowiak5-Sep-12 12:35 
QuestionC# execute console application Pin
dcof5-Sep-12 5:39
dcof5-Sep-12 5:39 
I want to write a C# 2010 application that executes a console application. This new application will send seqential commands to the console application based upon values stored in a sql server database. This new application will wait for one command to finish before the next command is executed. The commands will look like the following:
Start .\bin\Release\sample.exe parameter1 parameter2 parameter3 

Due to the facts listed above, I have the following questions to ask you:

1. What type of a C# 2010 application would you set up to call the console application?
2. In this application, what would I do to make the commands get executed? Right now I type commands like I listed above in a dos command window. Do I need to add a reference to the sample.exe, do I need to obtain dll files?
Basically how would I make these commands get executed in the C# 2010 application?
AnswerRe: C# execute console application Pin
Eddy Vluggen5-Sep-12 5:54
professionalEddy Vluggen5-Sep-12 5:54 
AnswerRe: C# execute console application Pin
glennPattonWork35-Sep-12 5:59
professionalglennPattonWork35-Sep-12 5:59 
GeneralRe: C# execute console application Pin
Shameel5-Sep-12 6:27
professionalShameel5-Sep-12 6:27 
GeneralRe: C# execute console application Pin
glennPattonWork35-Sep-12 22:07
professionalglennPattonWork35-Sep-12 22:07 
AnswerRe: C# execute console application Pin
PIEBALDconsult5-Sep-12 6:06
mvePIEBALDconsult5-Sep-12 6:06 
GeneralRe: C# execute console application Pin
dcof5-Sep-12 7:52
dcof5-Sep-12 7:52 
GeneralRe: C# execute console application Pin
PIEBALDconsult5-Sep-12 8:20
mvePIEBALDconsult5-Sep-12 8:20 
AnswerRe: C# execute console application Pin
jschell5-Sep-12 11:38
jschell5-Sep-12 11:38 
QuestionSerial Port security? Pin
glennPattonWork35-Sep-12 5:34
professionalglennPattonWork35-Sep-12 5:34 
SuggestionRe: Serial Port security? Pin
Eddy Vluggen5-Sep-12 5:57
professionalEddy Vluggen5-Sep-12 5:57 
GeneralRe: Serial Port security? Pin
glennPattonWork35-Sep-12 6:03
professionalglennPattonWork35-Sep-12 6:03 
Questionextract form Pin
farhad34505-Sep-12 3:28
farhad34505-Sep-12 3:28 
AnswerRe: extract form Pin
Ravi Bhavnani5-Sep-12 3:36
professionalRavi Bhavnani5-Sep-12 3:36 
AnswerRe: extract form Pin
Ingo5-Sep-12 3:49
Ingo5-Sep-12 3:49 
AnswerRe: extract form Pin
Abhinav S5-Sep-12 4:00
Abhinav S5-Sep-12 4:00 
QuestionAddAccessRule to Directory for Usergroups of another Domain Pin
Ingo5-Sep-12 2:25
Ingo5-Sep-12 2:25 
QuestionProperty grid problem Pin
Soni_moni5-Sep-12 2:02
Soni_moni5-Sep-12 2:02 

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.