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

C#

 
QuestionCristian clock synchronization Algorithm on distributed OS Pin
BestArtemis9-Feb-06 22:07
BestArtemis9-Feb-06 22:07 
AnswerRe: Cristian click synchronization Algorithm on distributed OS Pin
leppie9-Feb-06 23:40
leppie9-Feb-06 23:40 
AnswerRe: Cristian clock synchronization Algorithm on distributed OS Pin
Dave Kreskowiak10-Feb-06 5:16
mveDave Kreskowiak10-Feb-06 5:16 
Questionhow to encrypt/decrypt exe file on the fly ? Pin
hdv2129-Feb-06 22:04
hdv2129-Feb-06 22:04 
AnswerRe: how to encrypt/decrypt exe file on the fly ? Pin
leppie9-Feb-06 23:45
leppie9-Feb-06 23:45 
GeneralRe: how to encrypt/decrypt exe file on the fly ? Pin
Ingo10-Feb-06 3:15
Ingo10-Feb-06 3:15 
AnswerRe: how to encrypt/decrypt exe file on the fly ? Pin
Dave Kreskowiak10-Feb-06 5:14
mveDave Kreskowiak10-Feb-06 5:14 
QuestionDOS program output problem!! Pin
TheNewNewGuy9-Feb-06 21:59
TheNewNewGuy9-Feb-06 21:59 
Hi, I have a small dos program that compiles txt files. The dos program checks the text file, and if there's an error or if the text is ok it sends a message to the dos prompt. I would like to capture this message and display it in a textbox. I have already tried with the code below, but i don't get the output from the text compler program, but I do get some DOS output like the path the program is in etc. Does anybody know how to solve this problem????

System.Diagnostics.Process p2 = new System.Diagnostics.Process();
StreamWriter sw2;
StreamReader sr2;
StreamReader err2;
System.Diagnostics.ProcessStartInfo psI2 = new System.Diagnostics.ProcessStartInfo("POINT");
psI2.UseShellExecute = false;
psI2.RedirectStandardInput = true;
psI2.RedirectStandardOutput = true;
psI2.RedirectStandardError = true;
psI2.CreateNoWindow = true;
psI2.Arguments = "/K" + compileTextFile;
p2.StartInfo = psI2;


p2.Start();
sw2 = p2.StandardInput;
sr2 = p2.StandardOutput;
err2 = p2.StandardError;
textBox1.Text = sr2;

Thanks!
AnswerRe: DOS program output problem!! Pin
leppie9-Feb-06 23:48
leppie9-Feb-06 23:48 
AnswerRe: DOS program output problem!! Pin
Dave Kreskowiak10-Feb-06 5:01
mveDave Kreskowiak10-Feb-06 5:01 
GeneralRe: DOS program output problem!! Pin
TheNewNewGuy11-Feb-06 1:32
TheNewNewGuy11-Feb-06 1:32 
GeneralRe: DOS program output problem!! Pin
Dave Kreskowiak11-Feb-06 3:32
mveDave Kreskowiak11-Feb-06 3:32 
GeneralRe: DOS program output problem!! Pin
TheNewNewGuy12-Feb-06 0:03
TheNewNewGuy12-Feb-06 0:03 
GeneralRe: DOS program output problem!! Pin
Dave Kreskowiak12-Feb-06 2:17
mveDave Kreskowiak12-Feb-06 2:17 
QuestionCustom Object used with Profile Object Pin
kloepper9-Feb-06 19:55
kloepper9-Feb-06 19:55 
QuestionHow to disable the jump to node function in TreeVeiw? Pin
coby cai9-Feb-06 18:13
professionalcoby cai9-Feb-06 18:13 
AnswerRe: How to disable the jump to node function in TreeVeiw? Pin
DigitalKing9-Feb-06 19:29
DigitalKing9-Feb-06 19:29 
GeneralRe: How to disable the jump to node function in TreeVeiw? Pin
coby cai9-Feb-06 19:54
professionalcoby cai9-Feb-06 19:54 
GeneralRe: How to disable the jump to node function in TreeVeiw? Pin
DigitalKing9-Feb-06 20:12
DigitalKing9-Feb-06 20:12 
GeneralRe: How to disable the jump to node function in TreeVeiw? Pin
coby cai9-Feb-06 20:19
professionalcoby cai9-Feb-06 20:19 
AnswerRe: How to disable the jump to node function in TreeVeiw? Pin
DigitalKing9-Feb-06 20:31
DigitalKing9-Feb-06 20:31 
GeneralRe: How to disable the jump to node function in TreeVeiw? Pin
coby cai9-Feb-06 21:44
professionalcoby cai9-Feb-06 21:44 
QuestionDLLs - Creating Pin
Expert Coming9-Feb-06 17:58
Expert Coming9-Feb-06 17:58 
AnswerRe: DLLs - Creating Pin
rakesh_nits9-Feb-06 18:10
rakesh_nits9-Feb-06 18:10 
AnswerRe: DLLs - Creating Pin
Dave Kreskowiak9-Feb-06 18:12
mveDave Kreskowiak9-Feb-06 18:12 

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.