Click here to Skip to main content
15,922,630 members
Home / Discussions / C#
   

C#

 
GeneralRe: LogonUser and Interop problem Pin
devvvy2-Oct-03 5:39
devvvy2-Oct-03 5:39 
GeneralRe: LogonUser and Interop problem Pin
devvvy2-Oct-03 6:29
devvvy2-Oct-03 6:29 
GeneralDecoding SNMP Packets Pin
MrEyes2-Oct-03 3:56
MrEyes2-Oct-03 3:56 
GeneralThreadPool and COM Interop Pin
DuaneP2-Oct-03 2:17
DuaneP2-Oct-03 2:17 
GeneralRe: ThreadPool and COM Interop Pin
DuaneP2-Oct-03 11:01
DuaneP2-Oct-03 11:01 
GeneralIsInRole Pin
devvvy2-Oct-03 1:35
devvvy2-Oct-03 1:35 
GeneralRe: IsInRole Pin
Julian Bucknall [MSFT]2-Oct-03 6:05
Julian Bucknall [MSFT]2-Oct-03 6:05 
GeneralRe: IsInRole Pin
devvvy2-Oct-03 6:25
devvvy2-Oct-03 6:25 
GeneralDatabase confusion question Pin
rama_ii2-Oct-03 1:33
rama_ii2-Oct-03 1:33 
GeneralRe: Database confusion question Pin
Daniel Turini2-Oct-03 1:49
Daniel Turini2-Oct-03 1:49 
GeneralSectionGroup and CMAB Pin
lionhurt20002-Oct-03 0:46
lionhurt20002-Oct-03 0:46 
GeneralRIP , Play and convert audio and video files Pin
Velichko Sarev2-Oct-03 0:36
Velichko Sarev2-Oct-03 0:36 
GeneralString question Pin
Mazdak1-Oct-03 23:23
Mazdak1-Oct-03 23:23 
GeneralRe: String question Pin
Corinna John1-Oct-03 23:38
Corinna John1-Oct-03 23:38 
GeneralRe: String question Pin
Mazdak2-Oct-03 1:14
Mazdak2-Oct-03 1:14 
GeneralRe: String question Pin
Rickard Andersson201-Oct-03 23:51
Rickard Andersson201-Oct-03 23:51 
GeneralRe: String question Pin
Mazdak2-Oct-03 1:16
Mazdak2-Oct-03 1:16 
GeneralRe: String question Pin
jparsons2-Oct-03 5:26
jparsons2-Oct-03 5:26 
Generaldatagrid problems Pin
brain2cpu1-Oct-03 21:41
professionalbrain2cpu1-Oct-03 21:41 
GeneralFileSystemWatcher & FTP Pin
MStanbrook1-Oct-03 15:09
MStanbrook1-Oct-03 15:09 
GeneralRe: FileSystemWatcher & FTP Pin
MStanbrook1-Oct-03 15:59
MStanbrook1-Oct-03 15:59 
GeneralPaging Mr. Regex Pin
afronaut1-Oct-03 13:11
afronaut1-Oct-03 13:11 
GeneralRe: Paging Mr. Regex Pin
Wjousts1-Oct-03 14:54
Wjousts1-Oct-03 14:54 
GeneralRe: Paging Mr. Regex Pin
Daniel Turini2-Oct-03 1:53
Daniel Turini2-Oct-03 1:53 
Generalcapture command line output Pin
IsaacB1-Oct-03 11:33
IsaacB1-Oct-03 11:33 
lets say i execute a command line operation like this

Process cmd = null;
ProcessStartInfo options = new ProcessStartInfo(fileName, arguments);
options.UseShellExecute = true;
options.WindowStyle = ProcessWindowStyle.Normal;

cmd = Process.Start(options);
cmd.WaitForExit();

it could be a ping or anything, how can i capture the output of that instruction?

Thanks in advance

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.