Click here to Skip to main content
15,921,452 members
Home / Discussions / C#
   

C#

 
QuestionThreading in C# with a Console Application Pin
agent00zelda26-Mar-09 4:58
agent00zelda26-Mar-09 4:58 
AnswerRe: Threading in C# with a Console Application Pin
Deresen26-Mar-09 6:00
Deresen26-Mar-09 6:00 
GeneralRe: Threading in C# with a Console Application Pin
agent00zelda26-Mar-09 6:55
agent00zelda26-Mar-09 6:55 
GeneralRe: Threading in C# with a Console Application Pin
S. Senthil Kumar27-Mar-09 7:12
S. Senthil Kumar27-Mar-09 7:12 
Questionhow to connect/query assisted gps server Pin
hammid198126-Mar-09 4:26
hammid198126-Mar-09 4:26 
QuestionHow to wait for process with redirected Output (asynchronous) end AND end of output stream WITH timeout for process? Pin
MayFlyJJ26-Mar-09 4:02
MayFlyJJ26-Mar-09 4:02 
AnswerRe: How to wait for process with redirected Output (asynchronous) end AND end of output stream WITH timeout for process? [modified] Pin
Luc Pattyn26-Mar-09 5:21
sitebuilderLuc Pattyn26-Mar-09 5:21 
GeneralRe: How to wait for process with redirected Output (asynchronous) end AND end of output stream WITH timeout for process? Pin
MayFlyJJ26-Mar-09 6:17
MayFlyJJ26-Mar-09 6:17 
Hi Luc,

thanks for your quick reply. Unfortunately I have a problem with your BTW Wink | ;)
The reason is that I have to execute a lot of commands one after the other and cannot wait a second for being sure, that the streams are empty (with 1000 files it would take 17 minutes just waiting).

But nevertheless to 'move' the output to separate threads sounds good. The only thing what I then still not have is an option to check if the process output/error stream has been terminated. This would be a perfect solution/trigger to go on with the normal program. Unfortunately (again) the options from the process class are not sufficient to do this with asynchronous outputs (at least what I found).

Again Thanks a lot! In worst case I have to check for a good 'waiting' time (maybe 100ms are enough) and parallelise something else to come back to acceptable values.

Brgds,
Michael
GeneralRe: How to wait for process with redirected Output (asynchronous) end AND end of output stream WITH timeout for process? Pin
Luc Pattyn26-Mar-09 7:17
sitebuilderLuc Pattyn26-Mar-09 7:17 
GeneralRe: How to wait for process with redirected Output (asynchronous) end AND end of output stream WITH timeout for process? Pin
MayFlyJJ27-Mar-09 2:07
MayFlyJJ27-Mar-09 2:07 
GeneralRe: How to wait for process with redirected Output (asynchronous) end AND end of output stream WITH timeout for process? Pin
Luc Pattyn27-Mar-09 2:24
sitebuilderLuc Pattyn27-Mar-09 2:24 
QuestionDynamic Link Button not firing click event. Pin
Kevin Mauriello26-Mar-09 3:50
Kevin Mauriello26-Mar-09 3:50 
Questionchanging the database after addition to the project ? Pin
Mubeen.asim26-Mar-09 3:36
Mubeen.asim26-Mar-09 3:36 
AnswerRe: changing the database after addition to the project ? Pin
Vimalsoft(Pty) Ltd26-Mar-09 4:14
professionalVimalsoft(Pty) Ltd26-Mar-09 4:14 
GeneralRe: changing the database after addition to the project ? Pin
Mubeen.asim26-Mar-09 4:50
Mubeen.asim26-Mar-09 4:50 
GeneralRe: changing the database after addition to the project ? Pin
Vimalsoft(Pty) Ltd26-Mar-09 4:57
professionalVimalsoft(Pty) Ltd26-Mar-09 4:57 
GeneralRe: changing the database after addition to the project ? Pin
Mubeen.asim26-Mar-09 5:01
Mubeen.asim26-Mar-09 5:01 
GeneralRe: changing the database after addition to the project ? Pin
Vimalsoft(Pty) Ltd26-Mar-09 5:07
professionalVimalsoft(Pty) Ltd26-Mar-09 5:07 
GeneralRe: changing the database after addition to the project ? Pin
Mubeen.asim26-Mar-09 6:39
Mubeen.asim26-Mar-09 6:39 
GeneralRe: changing the database after addition to the project ? Pin
Vimalsoft(Pty) Ltd26-Mar-09 19:57
professionalVimalsoft(Pty) Ltd26-Mar-09 19:57 
Questionhow to disable globel mouse and Keyboard event.. [modified] Pin
prem194226-Mar-09 3:30
prem194226-Mar-09 3:30 
GeneralPerformance problem when implementing driversin state machine model Pin
ayyappa4902126-Mar-09 3:12
ayyappa4902126-Mar-09 3:12 
QuestionIcons Disapear from taskebar Pin
udikantz26-Mar-09 2:59
udikantz26-Mar-09 2:59 
QuestionRe: Icons Disapear from taskebar Pin
Cracked-Down26-Mar-09 3:22
Cracked-Down26-Mar-09 3:22 
AnswerRe: Icons Disapear from taskebar Pin
Eddy Vluggen26-Mar-09 3:41
professionalEddy Vluggen26-Mar-09 3:41 

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.