Click here to Skip to main content
15,905,238 members
Home / Discussions / C#
   

C#

 
AnswerRe: New Day Event Pin
mav.northwind10-Feb-06 8:31
mav.northwind10-Feb-06 8:31 
Questionshutdown external win32 application Pin
Ibana10-Feb-06 1:36
Ibana10-Feb-06 1:36 
QuestionReal Time Notification in C#, Sql Server Pin
Adarsh Shah10-Feb-06 0:56
Adarsh Shah10-Feb-06 0:56 
AnswerRe: Real Time Notification in C#, Sql Server Pin
Guffa10-Feb-06 2:15
Guffa10-Feb-06 2:15 
GeneralRe: Real Time Notification in C#, Sql Server Pin
Adarsh Shah16-Feb-06 18:43
Adarsh Shah16-Feb-06 18:43 
Question[Message Deleted] Pin
Adarsh Shah10-Feb-06 0:54
Adarsh Shah10-Feb-06 0:54 
AnswerRe: Notification in C#, SQL Server Pin
J4amieC10-Feb-06 0:58
J4amieC10-Feb-06 0:58 
GeneralRe: Notification in C#, SQL Server Pin
Adarsh Shah10-Feb-06 1:01
Adarsh Shah10-Feb-06 1:01 
QuestionC# code-behind file doesn't work with Infopath Pin
Alex Getman10-Feb-06 0:47
Alex Getman10-Feb-06 0:47 
AnswerRe: C# code-behind file doesn't work with Infopath Pin
Alex Getman10-Feb-06 2:16
Alex Getman10-Feb-06 2:16 
Questionhow to Update Database in VS.2005 ? Pin
hdv2129-Feb-06 23:42
hdv2129-Feb-06 23:42 
AnswerRe: how to Update Database in VS.2005 ? Pin
Tom Wright10-Feb-06 12:03
Tom Wright10-Feb-06 12:03 
QuestionASP C# Web Control Pin
winzone9-Feb-06 22:59
winzone9-Feb-06 22:59 
QuestionWhen my C# interop with MC++, the local variable out of scope. Pin
tiancaidao9-Feb-06 22:41
tiancaidao9-Feb-06 22:41 
AnswerRe: When my C# interop with MC++, the local variable out of scope. Pin
tiancaidao10-Feb-06 2:35
tiancaidao10-Feb-06 2:35 
QuestionCristian clock synchronization Algorithm on distributed OS Pin
BestArtemis9-Feb-06 22:07
BestArtemis9-Feb-06 22:07 
AnswerRe: Cristian click synchronization Algorithm on distributed OS Pin
leppie9-Feb-06 23:40
leppie9-Feb-06 23:40 
AnswerRe: Cristian clock synchronization Algorithm on distributed OS Pin
Dave Kreskowiak10-Feb-06 5:16
mveDave Kreskowiak10-Feb-06 5:16 
Questionhow to encrypt/decrypt exe file on the fly ? Pin
hdv2129-Feb-06 22:04
hdv2129-Feb-06 22:04 
AnswerRe: how to encrypt/decrypt exe file on the fly ? Pin
leppie9-Feb-06 23:45
leppie9-Feb-06 23:45 
GeneralRe: how to encrypt/decrypt exe file on the fly ? Pin
Ingo10-Feb-06 3:15
Ingo10-Feb-06 3:15 
AnswerRe: how to encrypt/decrypt exe file on the fly ? Pin
Dave Kreskowiak10-Feb-06 5:14
mveDave Kreskowiak10-Feb-06 5:14 
QuestionDOS program output problem!! Pin
TheNewNewGuy9-Feb-06 21:59
TheNewNewGuy9-Feb-06 21:59 
Hi, I have a small dos program that compiles txt files. The dos program checks the text file, and if there's an error or if the text is ok it sends a message to the dos prompt. I would like to capture this message and display it in a textbox. I have already tried with the code below, but i don't get the output from the text compler program, but I do get some DOS output like the path the program is in etc. Does anybody know how to solve this problem????

System.Diagnostics.Process p2 = new System.Diagnostics.Process();
StreamWriter sw2;
StreamReader sr2;
StreamReader err2;
System.Diagnostics.ProcessStartInfo psI2 = new System.Diagnostics.ProcessStartInfo("POINT");
psI2.UseShellExecute = false;
psI2.RedirectStandardInput = true;
psI2.RedirectStandardOutput = true;
psI2.RedirectStandardError = true;
psI2.CreateNoWindow = true;
psI2.Arguments = "/K" + compileTextFile;
p2.StartInfo = psI2;


p2.Start();
sw2 = p2.StandardInput;
sr2 = p2.StandardOutput;
err2 = p2.StandardError;
textBox1.Text = sr2;

Thanks!
AnswerRe: DOS program output problem!! Pin
leppie9-Feb-06 23:48
leppie9-Feb-06 23:48 
AnswerRe: DOS program output problem!! Pin
Dave Kreskowiak10-Feb-06 5:01
mveDave Kreskowiak10-Feb-06 5:01 

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.