Click here to Skip to main content
15,913,610 members
Home / Discussions / C#
   

C#

 
AnswerRe: Is it just me.... Pin
Pete O'Hanlon10-Jan-07 3:11
mvePete O'Hanlon10-Jan-07 3:11 
QuestionDatagrid row count Pin
Mr.Sam10-Jan-07 2:13
Mr.Sam10-Jan-07 2:13 
AnswerRe: Datagrid row count Pin
ednrgc10-Jan-07 2:29
ednrgc10-Jan-07 2:29 
AnswerRe: Datagrid row count Pin
Colin Angus Mackay10-Jan-07 2:15
Colin Angus Mackay10-Jan-07 2:15 
QuestionDoes Vs2005 allows seperate reference for debug and release? Pin
praveenqwe10-Jan-07 0:41
praveenqwe10-Jan-07 0:41 
AnswerRe: Does Vs2005 allows seperate reference for debug and release? Pin
thomas1234510-Jan-07 0:45
thomas1234510-Jan-07 0:45 
AnswerRe: Does Vs2005 allows seperate reference for debug and release? Pin
Mircea Puiu10-Jan-07 1:08
Mircea Puiu10-Jan-07 1:08 
Questionblocking Peek() on StandardOutput stream Pin
thomas1234510-Jan-07 0:35
thomas1234510-Jan-07 0:35 
Does anyone know why Peek() is blocking when called on the StandardOutput stream?
I've heard that it might block if nothing ever has been written to the stream before Peek() is called. The problem occurs both with VS2003 and VS2005 (.NET 1.1 & .NET 2.0).

System.Diagnostics.Process p = new Process();
p.StartInfo.FileName = @"c:\windows\system32\notepad.exe";

p.StartInfo.UseShellExecute = false;
p.StartInfo.RedirectStandardOutput = true;
p.StartInfo.RedirectStandardError = true;
p.Start();

int res = p.StandardOutput.Peek(); // this blocks
if (res>=0)
{
string s = p.StandardOutput.ReadToEnd();
}

Please help!
Questionadd two integers using using c#.NET Pin
lasantha16129-Jan-07 23:50
lasantha16129-Jan-07 23:50 
AnswerRe: add two integers using using c#.NET Pin
Stefan Troschuetz9-Jan-07 23:54
Stefan Troschuetz9-Jan-07 23:54 
AnswerRe: add two integers using using c#.NET Pin
V.9-Jan-07 23:56
professionalV.9-Jan-07 23:56 
AnswerRe: add two integers using using c#.NET Pin
Christian Graus10-Jan-07 0:24
protectorChristian Graus10-Jan-07 0:24 
GeneralRe: add two integers using using c#.NET Pin
Pete O'Hanlon10-Jan-07 0:33
mvePete O'Hanlon10-Jan-07 0:33 
GeneralRe: add two integers using using c#.NET Pin
Christian Graus10-Jan-07 0:48
protectorChristian Graus10-Jan-07 0:48 
AnswerRe: add two integers using using c#.NET Pin
Pete O'Hanlon10-Jan-07 0:34
mvePete O'Hanlon10-Jan-07 0:34 
GeneralRe: add two integers using using c#.NET Pin
Colin Angus Mackay10-Jan-07 2:07
Colin Angus Mackay10-Jan-07 2:07 
GeneralRe: add two integers using using c#.NET Pin
Pete O'Hanlon10-Jan-07 3:10
mvePete O'Hanlon10-Jan-07 3:10 
AnswerRe: add two integers using using c#.NET Pin
ednrgc10-Jan-07 2:31
ednrgc10-Jan-07 2:31 
JokeRe: add two integers using using c#.NET (with sample code) Pin
szukuro10-Jan-07 5:31
szukuro10-Jan-07 5:31 
GeneralRe: add two integers using using c#.NET (with sample code) Pin
Luc Pattyn10-Jan-07 8:33
sitebuilderLuc Pattyn10-Jan-07 8:33 
GeneralRe: add two integers using using c#.NET (with sample code) Pin
szukuro10-Jan-07 10:57
szukuro10-Jan-07 10:57 
GeneralRe: add two integers using using c#.NET (with sample code) Pin
Alaric_10-Jan-07 11:26
professionalAlaric_10-Jan-07 11:26 
GeneralRe: add two integers using using c#.NET (with sample code) Pin
Glen Harvy10-Jan-07 13:34
Glen Harvy10-Jan-07 13:34 
Questiondll Pin
raju_net18189-Jan-07 23:47
raju_net18189-Jan-07 23:47 
AnswerRe: dll Pin
Stefan Troschuetz9-Jan-07 23:52
Stefan Troschuetz9-Jan-07 23:52 

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.