C
cql90
Hi All,
I did use the block of code below to open a notepad, However, I would like
to insert some data which I did collect in the runtime into the notepad
before it show. How can I do it? Any help is greatly appreciated. Thanks you
very much in advance...
Kate
System.Diagnostics.Process myProcess = new System.Diagnostics.Process();
System.Diagnostics.ProcessStartInfo pcInfo = new
System.Diagnostics.ProcessStartInfo( "Notepad.exe" );
pcInfo.UseShellExecute = false;
pcInfo.RedirectStandardOutput = true;
myProcess.StartInfo = pcInfo;
myProcess.Start();
myProcess.WaitForExit();
myProcess.Close();
I did use the block of code below to open a notepad, However, I would like
to insert some data which I did collect in the runtime into the notepad
before it show. How can I do it? Any help is greatly appreciated. Thanks you
very much in advance...
Kate
System.Diagnostics.Process myProcess = new System.Diagnostics.Process();
System.Diagnostics.ProcessStartInfo pcInfo = new
System.Diagnostics.ProcessStartInfo( "Notepad.exe" );
pcInfo.UseShellExecute = false;
pcInfo.RedirectStandardOutput = true;
myProcess.StartInfo = pcInfo;
myProcess.Start();
myProcess.WaitForExit();
myProcess.Close();