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

C#

 
GeneralRe: GDI+ Dashed line Pin
Daniel M. Edwards29-Sep-03 10:25
Daniel M. Edwards29-Sep-03 10:25 
GeneralRe: GDI+ Dashed line Pin
gadgetfbi29-Sep-03 12:16
gadgetfbi29-Sep-03 12:16 
GeneralJPEG2000 Pin
gicio29-Sep-03 7:02
gicio29-Sep-03 7:02 
GeneralImport CSV File to MS Access Pin
raysot29-Sep-03 6:21
raysot29-Sep-03 6:21 
GeneralRe: Import CSV File to MS Access Pin
Steve McLenithan29-Sep-03 7:29
Steve McLenithan29-Sep-03 7:29 
GeneralReading StandardOutput Pin
Wjousts29-Sep-03 4:57
Wjousts29-Sep-03 4:57 
GeneralRe: Reading StandardOutput Pin
Heath Stewart29-Sep-03 9:09
protectorHeath Stewart29-Sep-03 9:09 
GeneralRe: Reading StandardOutput Pin
Wjousts29-Sep-03 10:25
Wjousts29-Sep-03 10:25 
What exactly do you mean? I tried this:

<br />
			ProcessStartInfo pInfo = new ProcessStartInfo(m_ProcessApp,m_ProcessArgs);<br />
			pInfo.UseShellExecute = false;<br />
			pInfo.RedirectStandardOutput = true;<br />
			pInfo.RedirectStandardError = true;<br />
			pInfo.CreateNoWindow = true;<br />
			m_Running = new Process();<br />
			m_Running.StartInfo = pInfo;<br />
			m_StdOut = m_Running.StandardOutput;<br />
			m_Running.Start();<br />


But I get an exception saying that StandardOutput has not been redirected. What docs are you looking at? The only ones that I've found only mention that you should read the StandardOutput before you wait for the process to finish because otherwise the pipe can fill up and hang both processes (the one you started and the parent). I haven't seen any suggesting that you should try and read it before starting the process!
GeneralRe: Reading StandardOutput Pin
Heath Stewart30-Sep-03 1:20
protectorHeath Stewart30-Sep-03 1:20 
GeneralRe: Reading StandardOutput Pin
Wjousts30-Sep-03 4:06
Wjousts30-Sep-03 4:06 
GeneralUrgent Help needed Pin
GenieUk29-Sep-03 4:02
GenieUk29-Sep-03 4:02 
GeneralValidating pasted text in textbox Pin
ecopilot29-Sep-03 4:01
ecopilot29-Sep-03 4:01 
GeneralRe: Validating pasted text in textbox Pin
Wjousts29-Sep-03 4:48
Wjousts29-Sep-03 4:48 
Generalhandling internet explorer events from a console application in VS.net Pin
Sonja-Hartmann29-Sep-03 3:29
Sonja-Hartmann29-Sep-03 3:29 
Questionhow to make a shortcut in .net cf Pin
tignatov29-Sep-03 0:21
tignatov29-Sep-03 0:21 
Generalpass parameter to a method in new thread Pin
zecodela28-Sep-03 23:11
zecodela28-Sep-03 23:11 
GeneralRe: pass parameter to a method in new thread Pin
Corinna John29-Sep-03 2:26
Corinna John29-Sep-03 2:26 
QuestionScrolling two textboxes with one scrollbar??? Pin
Steppen Wolf28-Sep-03 21:07
sussSteppen Wolf28-Sep-03 21:07 
AnswerRe: Scrolling two textboxes with one scrollbar??? Pin
Anonymous29-Sep-03 1:18
Anonymous29-Sep-03 1:18 
GeneralRe: Scrolling two textboxes with one scrollbar??? Pin
Steppen_Wolf29-Sep-03 5:33
sussSteppen_Wolf29-Sep-03 5:33 
GeneralAdding a Class Library Pin
gmhanna28-Sep-03 8:32
gmhanna28-Sep-03 8:32 
GeneralRe: Adding a Class Library Pin
Daniel M. Edwards28-Sep-03 9:27
Daniel M. Edwards28-Sep-03 9:27 
GeneralRe: Adding a Class Library Pin
gmhanna28-Sep-03 10:08
gmhanna28-Sep-03 10:08 
GeneralRe: Adding a Class Library Pin
Tomas Petricek28-Sep-03 10:27
Tomas Petricek28-Sep-03 10:27 
QuestionHow to get the color of a Pixel? Pin
Leon van Wyk28-Sep-03 4:28
professionalLeon van Wyk28-Sep-03 4:28 

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.