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

C#

 
AnswerRe: Erase GraphicsPath Pin
Mark Miller11-Sep-07 5:56
Mark Miller11-Sep-07 5:56 
GeneralRe: Erase GraphicsPath Pin
greekius11-Sep-07 6:50
greekius11-Sep-07 6:50 
GeneralRe: Erase GraphicsPath Pin
Mark Miller11-Sep-07 7:12
Mark Miller11-Sep-07 7:12 
GeneralRe: Erase GraphicsPath Pin
greekius11-Sep-07 11:42
greekius11-Sep-07 11:42 
QuestionSort ListView? Pin
andredani11-Sep-07 4:46
andredani11-Sep-07 4:46 
AnswerRe: Sort ListView? Pin
led mike11-Sep-07 4:51
led mike11-Sep-07 4:51 
QuestionFontstyle of a column text in a datagridview Pin
anu8111-Sep-07 4:34
anu8111-Sep-07 4:34 
AnswerRe: Fontstyle of a column text in a datagridview Pin
Obaid ur Rehman11-Sep-07 7:41
Obaid ur Rehman11-Sep-07 7:41 
Questionstoring data from textbox into different files Pin
troubled one11-Sep-07 4:06
troubled one11-Sep-07 4:06 
AnswerRe: storing data from textbox into different files Pin
Ermak8611-Sep-07 4:08
Ermak8611-Sep-07 4:08 
GeneralRe: storing data from textbox into different files Pin
troubled one11-Sep-07 16:06
troubled one11-Sep-07 16:06 
QuestionIs there any objects for Mins and Seconds. Pin
John.L.Ponratnam11-Sep-07 3:34
John.L.Ponratnam11-Sep-07 3:34 
AnswerRe: Is there any objects for Mins and Seconds. Pin
pmarfleet11-Sep-07 3:39
pmarfleet11-Sep-07 3:39 
AnswerRe: Is there any objects for Mins and Seconds. Pin
\laddie11-Sep-07 5:50
\laddie11-Sep-07 5:50 
Questionhow we can control printer tray with csharp? [modified] Pin
mohammadser11-Sep-07 3:31
mohammadser11-Sep-07 3:31 
AnswerRe: how we can control printer tray with csharp? Pin
martin_hughes11-Sep-07 10:39
martin_hughes11-Sep-07 10:39 
Questionget only string as input Pin
prasadbuddhika11-Sep-07 2:45
prasadbuddhika11-Sep-07 2:45 
AnswerRe: get only string as input Pin
Christian Graus11-Sep-07 2:46
protectorChristian Graus11-Sep-07 2:46 
QuestionProcess hangs with RedirectStandardOutput Pin
liqnit11-Sep-07 2:39
liqnit11-Sep-07 2:39 
Frown | :( Hi
I am trying to compile a workspace using Msdev.exe (Visual Studio 6) .
I am using the command line and want to redirect the output into a rich textbox on my form.
When an error in compilation occur the process is hanged until i stop my application and only then the Msdev is showing the error.

 System.IntPtr  PrHndle;<br />
 Process Prc = new Process();<br />
 <br />
 Prc.StartInfo.FileName = VS6EXEPath;<br />
 Prc.StartInfo.Arguments = WorkSpace + CompileCommandString;<br />
 Prc.StartInfo.UseShellExecute = false;<br />
 Prc.StartInfo.RedirectStandardOutput=true;<br />
 <br />
 Prc.Start();<br />
 PrHndle = Prc.Handle;<br />
 <br />
 StreamReader SR = Prc.StandardOutput;<br />
<br />
 while (SR.EndOfStream != true)<br />
 {<br />
     rtbCmdOutput.Text = rtbCmdOutput.Text + "\r\n" + SR.ReadLine();<br />
 }<br />
 Prc.WaitForExit();

Same code works good with appliaction.
Please helpFrown | :(



Have a nice Day

AnswerRe: Process hangs with RedirectStandardOutput Pin
Judah Gabriel Himango11-Sep-07 5:12
sponsorJudah Gabriel Himango11-Sep-07 5:12 
GeneralRe: Process hangs with RedirectStandardOutput Pin
liqnit11-Sep-07 18:21
liqnit11-Sep-07 18:21 
QuestionChecked change event Pin
M. J. Jaya Chitra11-Sep-07 2:31
M. J. Jaya Chitra11-Sep-07 2:31 
AnswerRe: Checked change event Pin
Christian Graus11-Sep-07 2:45
protectorChristian Graus11-Sep-07 2:45 
GeneralRe: Checked change event Pin
M. J. Jaya Chitra11-Sep-07 2:57
M. J. Jaya Chitra11-Sep-07 2:57 
GeneralRe: Checked change event Pin
Ermak8611-Sep-07 4:04
Ermak8611-Sep-07 4:04 

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.