Click here to Skip to main content
15,895,557 members
Home / Discussions / C#
   

C#

 
AnswerRe: Entity Model Insert Help Pin
Not Active3-Sep-09 5:59
mentorNot Active3-Sep-09 5:59 
GeneralRe: Entity Model Insert Help Pin
ToddHileHoffer3-Sep-09 6:52
ToddHileHoffer3-Sep-09 6:52 
QuestionMemory leak on Lucene.net 2.3.2 Pin
susantasamanta853-Sep-09 5:20
susantasamanta853-Sep-09 5:20 
AnswerRe: Memory leak on Lucene.net 2.3.2 Pin
Henry Minute3-Sep-09 5:33
Henry Minute3-Sep-09 5:33 
Questionsend data to website Pin
Omar Gameel Salem3-Sep-09 5:16
professionalOmar Gameel Salem3-Sep-09 5:16 
AnswerRe: send data to website Pin
Eddy Vluggen3-Sep-09 7:12
professionalEddy Vluggen3-Sep-09 7:12 
GeneralRe: send data to website Pin
Omar Gameel Salem3-Sep-09 7:58
professionalOmar Gameel Salem3-Sep-09 7:58 
QuestionSystem.Diagnostics.Process, asyncronous reading StandardOutput and StandardError streams Pin
Jon Hulatt3-Sep-09 5:03
Jon Hulatt3-Sep-09 5:03 
Hi All,

I'm using System.Diagnostics.Process for running a background task, from which i need to read the standard out and standard error. I'm doing this asyncronously with the Process.ErrorDataReceived, Process.OutputDataReceived events, and Process.BeginOutputReadLine() and Process.BeginErrorReadLine().

I also need to know when the process has exited, and i've received all the data. The problem is, that the Process.Exited event is fired before all of the data has been processed.

I need to tidy up other stuff when the process has exited and all the data from stdout/stderr has been received. But I cannot for the life of me find a way of working out when that is the case. Can anyone help?

thanks

Jon

using System.Beer;

AnswerRe: System.Diagnostics.Process, asyncronous reading StandardOutput and StandardError streams Pin
Heath Higgins9-Sep-09 13:10
Heath Higgins9-Sep-09 13:10 
QuestionByte to bit array problem Pin
gwithey3-Sep-09 4:58
gwithey3-Sep-09 4:58 
AnswerRe: Byte to bit array problem Pin
Henry Minute3-Sep-09 5:24
Henry Minute3-Sep-09 5:24 
GeneralRe: Byte to bit array problem Pin
Luc Pattyn3-Sep-09 5:54
sitebuilderLuc Pattyn3-Sep-09 5:54 
GeneralRe: Byte to bit array problem Pin
Henry Minute3-Sep-09 6:03
Henry Minute3-Sep-09 6:03 
GeneralRe: Byte to bit array problem Pin
Luc Pattyn3-Sep-09 6:23
sitebuilderLuc Pattyn3-Sep-09 6:23 
GeneralRe: Byte to bit array problem Pin
gwithey3-Sep-09 20:47
gwithey3-Sep-09 20:47 
QuestionWhy listview cannot received the OnDragDrop event. Pin
Fired.Fish.Gmail3-Sep-09 4:33
Fired.Fish.Gmail3-Sep-09 4:33 
AnswerRe: Why listview cannot received the OnDragDrop event. Pin
Nuri Ismail3-Sep-09 5:28
Nuri Ismail3-Sep-09 5:28 
GeneralRe: Why listview cannot received the OnDragDrop event. Pin
Fired.Fish.Gmail3-Sep-09 14:57
Fired.Fish.Gmail3-Sep-09 14:57 
GeneralRe: Why listview cannot received the OnDragDrop event. Pin
Nuri Ismail3-Sep-09 21:59
Nuri Ismail3-Sep-09 21:59 
GeneralRe: Why listview cannot received the OnDragDrop event. Pin
Fired.Fish.Gmail4-Sep-09 3:48
Fired.Fish.Gmail4-Sep-09 3:48 
QuestionC# Multilanguage resx Pin
Kaare Tragethon3-Sep-09 4:29
Kaare Tragethon3-Sep-09 4:29 
AnswerRe: C# Multilanguage resx Pin
stancrm3-Sep-09 5:34
stancrm3-Sep-09 5:34 
GeneralRe: C# Multilanguage resx Pin
Kaare Tragethon3-Sep-09 5:50
Kaare Tragethon3-Sep-09 5:50 
QuestionWindowmediaplayer control Pin
Yonathan11113-Sep-09 4:21
professionalYonathan11113-Sep-09 4:21 
AnswerRe: Windowmediaplayer control Pin
Nuri Ismail3-Sep-09 5:09
Nuri Ismail3-Sep-09 5:09 

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.