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

C#

 
AnswerRe: c# Client Server Application Pin
phil.o4-Feb-11 2:21
professionalphil.o4-Feb-11 2:21 
AnswerRe: c# Client Server Application Pin
_Erik_4-Feb-11 5:39
_Erik_4-Feb-11 5:39 
QuestionInput details in cmd via Process Pin
All Time Programming4-Feb-11 0:10
All Time Programming4-Feb-11 0:10 
AnswerRe: Input details in cmd via Process Pin
Xmen Real 4-Feb-11 1:23
professional Xmen Real 4-Feb-11 1:23 
GeneralRe: Input details in cmd via Process Pin
All Time Programming4-Feb-11 1:42
All Time Programming4-Feb-11 1:42 
AnswerRe: Input details in cmd via Process Pin
PIEBALDconsult4-Feb-11 1:48
mvePIEBALDconsult4-Feb-11 1:48 
GeneralRe: Input details in cmd via Process Pin
All Time Programming4-Feb-11 2:44
All Time Programming4-Feb-11 2:44 
AnswerRe: Input details in cmd via Process Pin
_Erik_4-Feb-11 6:09
_Erik_4-Feb-11 6:09 
I think you don't need anything going asynchronous here. Remove the OutputDataReceived event handler and the invoke to BeginOutputReadLine, so you can do it synchronously. For example:

C#>
I've not tested the code, but I guess it should work. The OutputDataReceived is only fired when a line is written on the output stream, so if there is not an end of line when it is asking for a username, you will not receive the event.

QuestionPreserve stack trace after Exception rethrow? Pin
Chesnokov Yuriy3-Feb-11 22:57
professionalChesnokov Yuriy3-Feb-11 22:57 
AnswerRe: Preserve stack trace after Exception rethrow? Pin
Wayne Gaylard3-Feb-11 23:03
professionalWayne Gaylard3-Feb-11 23:03 
QuestionRe: Preserve stack trace after Exception rethrow? Pin
Chesnokov Yuriy4-Feb-11 0:38
professionalChesnokov Yuriy4-Feb-11 0:38 
AnswerRe: Preserve stack trace after Exception rethrow? Pin
Luc Pattyn4-Feb-11 0:48
sitebuilderLuc Pattyn4-Feb-11 0:48 
QuestionTeechart - change color of bar in bar chart based on values Pin
PleaseHelpCP3-Feb-11 22:49
PleaseHelpCP3-Feb-11 22:49 
QuestionEfficient way to handle search page Pin
Umair Feroze3-Feb-11 22:34
Umair Feroze3-Feb-11 22:34 
QuestionWindows program responding to win + d Pin
ayandelhi3-Feb-11 21:57
ayandelhi3-Feb-11 21:57 
AnswerRe: Windows program responding to win + d Pin
Luc Pattyn3-Feb-11 22:23
sitebuilderLuc Pattyn3-Feb-11 22:23 
GeneralRe: Windows program responding to win + d Pin
ayandelhi3-Feb-11 23:31
ayandelhi3-Feb-11 23:31 
AnswerRe: Windows program responding to win + d Pin
Luc Pattyn3-Feb-11 23:41
sitebuilderLuc Pattyn3-Feb-11 23:41 
GeneralRe: Windows program responding to win + d Pin
ayandelhi3-Feb-11 23:51
ayandelhi3-Feb-11 23:51 
QuestionC# method to restart the application Pin
ayandelhi3-Feb-11 18:56
ayandelhi3-Feb-11 18:56 
AnswerRe: C# method to restart the application Pin
Peace ON3-Feb-11 19:31
Peace ON3-Feb-11 19:31 
GeneralRe: C# method to restart the application Pin
ayandelhi3-Feb-11 19:56
ayandelhi3-Feb-11 19:56 
GeneralRe: C# method to restart the application Pin
ayandelhi3-Feb-11 20:05
ayandelhi3-Feb-11 20:05 
GeneralRe: C# method to restart the application Pin
Peace ON3-Feb-11 20:13
Peace ON3-Feb-11 20:13 
GeneralRe: C# method to restart the application Pin
ayandelhi3-Feb-11 20:18
ayandelhi3-Feb-11 20:18 

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.