Click here to Skip to main content
15,912,082 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to generate code automatically? Pin
engsrini27-Jan-07 22:21
engsrini27-Jan-07 22:21 
GeneralRe: How to generate code automatically? Pin
raymond.chen200828-Jan-07 1:15
raymond.chen200828-Jan-07 1:15 
GeneralRe: How to generate code automatically? Pin
Luc Pattyn28-Jan-07 2:04
sitebuilderLuc Pattyn28-Jan-07 2:04 
QuestionPrint to specific printer with a button Pin
jeweladdict27-Jan-07 13:21
jeweladdict27-Jan-07 13:21 
AnswerRe: Print to specific printer with a button Pin
blue_arc28-Jan-07 20:19
blue_arc28-Jan-07 20:19 
QuestionRegex and good old YACC Pin
spin vector27-Jan-07 13:20
spin vector27-Jan-07 13:20 
QuestionExecute external APP Pin
picasso227-Jan-07 11:15
picasso227-Jan-07 11:15 
AnswerRe: Execute external APP Pin
Luc Pattyn27-Jan-07 11:24
sitebuilderLuc Pattyn27-Jan-07 11:24 
You can pass arguments to the exe by calling
public static Process Start (string fileName, string arguments)
but this only helps for real arguments, not for the goodies offered by the DOS shell,
such as input and output redirection.

For these, you still need the Process class, but then you must set several of its
properties, and in order to do it correctly, you normally have to launch up to 3 extra
threads to take care of input, output and error streams.

I'm pretty sure either CodeProject (or Google) could offer you a reasonable example.

Smile | :)




Luc Pattyn

GeneralRe: Execute external APP Pin
picasso227-Jan-07 13:22
picasso227-Jan-07 13:22 
Questionn-tier in .net? Pin
TrooperIronMan27-Jan-07 11:07
TrooperIronMan27-Jan-07 11:07 
AnswerRe: n-tier in .net? Pin
Bassam Saoud27-Jan-07 22:23
Bassam Saoud27-Jan-07 22:23 
GeneralRe: n-tier in .net? Pin
TrooperIronMan28-Jan-07 1:07
TrooperIronMan28-Jan-07 1:07 
QuestionWrite text in other thread Pin
error140827-Jan-07 10:46
error140827-Jan-07 10:46 
AnswerRe: Write text in other thread Pin
Luc Pattyn27-Jan-07 11:16
sitebuilderLuc Pattyn27-Jan-07 11:16 
GeneralRe: Write text in other thread Pin
error140827-Jan-07 11:56
error140827-Jan-07 11:56 
QuestionNetwork resources in a local area network Pin
SkyNET29089727-Jan-07 7:20
SkyNET29089727-Jan-07 7:20 
AnswerRe: Network resources in a local area network Pin
Parwej Ahamad27-Jan-07 8:30
professionalParwej Ahamad27-Jan-07 8:30 
GeneralRe: Network resources in a local area network Pin
SkyNET29089727-Jan-07 9:27
SkyNET29089727-Jan-07 9:27 
GeneralRe: Network resources in a local area network Pin
SkyNET29089728-Jan-07 3:07
SkyNET29089728-Jan-07 3:07 
QuestionCan't change icon Pin
kalkwarf27-Jan-07 5:51
kalkwarf27-Jan-07 5:51 
AnswerRe: Can't change icon Pin
Luc Pattyn27-Jan-07 6:04
sitebuilderLuc Pattyn27-Jan-07 6:04 
QuestionRe: Can't change icon Pin
kalkwarf28-Jan-07 6:20
kalkwarf28-Jan-07 6:20 
AnswerRe: Can't change icon Pin
Luc Pattyn28-Jan-07 6:49
sitebuilderLuc Pattyn28-Jan-07 6:49 
AnswerRe: Can't change icon Pin
bobsugar22227-Jan-07 6:42
bobsugar22227-Jan-07 6:42 
AnswerRe: Can't change icon Pin
engsrini27-Jan-07 22:29
engsrini27-Jan-07 22:29 

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.