Click here to Skip to main content
15,908,111 members
Home / Discussions / C#
   

C#

 
AnswerRe: Is Label serializable? Pin
DavidNohejl3-May-05 11:01
DavidNohejl3-May-05 11:01 
AnswerRe: Is Label serializable? Pin
Marc Clifton3-May-05 15:34
mvaMarc Clifton3-May-05 15:34 
AnswerRe: Is Label serializable? Pin
Mathew Hall3-May-05 16:44
Mathew Hall3-May-05 16:44 
GeneralNeed help: Referencing Main Form from a Class Library. Pin
CarolAnnLove3-May-05 8:33
CarolAnnLove3-May-05 8:33 
GeneralRe: Need help: Referencing Main Form from a Class Library. Pin
CarolAnnLove3-May-05 8:41
CarolAnnLove3-May-05 8:41 
GeneralRe: Need help: Referencing Main Form from a Class Library. Pin
MoustafaS3-May-05 9:11
MoustafaS3-May-05 9:11 
GeneralRe: Need help: Referencing Main Form from a Class Library. Pin
DavidNohejl3-May-05 9:37
DavidNohejl3-May-05 9:37 
QuestionShould I create a Dll? Pin
Anonymous3-May-05 8:27
Anonymous3-May-05 8:27 
AnswerRe: Should I create a Dll? Pin
Anonymous3-May-05 10:17
Anonymous3-May-05 10:17 
GeneralRe: Should I create a Dll? Pin
Anonymous3-May-05 10:44
Anonymous3-May-05 10:44 
GeneralRe: Should I create a Dll? Pin
DavidNohejl3-May-05 11:05
DavidNohejl3-May-05 11:05 
GeneralDLL Config File Pin
jklucker3-May-05 7:53
jklucker3-May-05 7:53 
GeneralRe: DLL Config File Pin
Dave Kreskowiak3-May-05 8:46
mveDave Kreskowiak3-May-05 8:46 
GeneralRe: DLL Config File Pin
jklucker3-May-05 8:54
jklucker3-May-05 8:54 
GeneralRe: DLL Config File Pin
DavidNohejl3-May-05 11:19
DavidNohejl3-May-05 11:19 
GeneralRe: DLL Config File Pin
jklucker4-May-05 16:16
jklucker4-May-05 16:16 
GeneralGames and depth of objects - help =) Pin
Anthony Mushrow3-May-05 7:44
professionalAnthony Mushrow3-May-05 7:44 
GeneralRe: Games and depth of objects - help =) Pin
Judah Gabriel Himango3-May-05 8:13
sponsorJudah Gabriel Himango3-May-05 8:13 
GeneralRe: Games and depth of objects - help =) Pin
Anthony Mushrow3-May-05 8:40
professionalAnthony Mushrow3-May-05 8:40 
GeneralRe: Games and depth of objects - help =) Pin
Judah Gabriel Himango3-May-05 10:35
sponsorJudah Gabriel Himango3-May-05 10:35 
GeneralRe: Games and depth of objects - help =) Pin
Anthony Mushrow3-May-05 20:46
professionalAnthony Mushrow3-May-05 20:46 
GeneralRe: Games and depth of objects - help =) Pin
Anonymous3-May-05 8:30
Anonymous3-May-05 8:30 
GeneralPiping data when using Process class Pin
CTaylor893-May-05 7:41
CTaylor893-May-05 7:41 
I have been trying to run this program called mysqlbinlog.exe from my main c# application using the Process class(See example below). The way that mysqlbinlog functions is to read the first file in the command line and pipe the results to the second file.

This works fine when actually run from a command window on XP, but when I try to execute mysqlbinlog from the process class, mysqlbinlog runs but does not pipe the result to the second file. Can anybody see what I may be doing wrong here, or is there some trick that I do not know about. Any assistance or suggestions would be very much appreciated.

private void Form1_Load(object sender, System.EventArgs e)
{
//Declare and instantiate a new process component.
System.Diagnostics.Process process1;
process1= new System.Diagnostics.Process();

process1.EnableRaisingEvents = false;

// Program file to run
string szProgFile = @"C:\Data\mysqlbinlog.exe";

// Cmd line arg to pipe results from rslog.001 to file1.txt
string strCmdLine = @"C:\Data\rslog.001 > C:\Data\file1.txt";

System.Diagnostics.Process.Start(szProgFile, strCmdLine);
process1.Close();
}

Craig
GeneralRe: Piping data when using Process class Pin
CTaylor893-May-05 11:48
CTaylor893-May-05 11:48 
GeneralKeep additional information inside a "serial number" Pin
eclipse2k13-May-05 7:33
eclipse2k13-May-05 7:33 

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.