Click here to Skip to main content
15,887,027 members
Home / Discussions / C#
   

C#

 
AnswerRe: How can i do that please Pin
Gavin Taylor30-Jan-06 16:12
professionalGavin Taylor30-Jan-06 16:12 
Questionicons Pin
relsirc30-Jan-06 13:43
relsirc30-Jan-06 13:43 
AnswerRe: icons Pin
James Gupta30-Jan-06 13:52
professionalJames Gupta30-Jan-06 13:52 
AnswerRe: icons Pin
AB777130-Jan-06 18:20
AB777130-Jan-06 18:20 
GeneralRe: icons Pin
James Gupta30-Jan-06 21:27
professionalJames Gupta30-Jan-06 21:27 
GeneralRe: icons Pin
AB777130-Jan-06 21:36
AB777130-Jan-06 21:36 
QuestionSystem.Diagnostic.Process - execute and monitor return code? Pin
devfendar30-Jan-06 13:10
devfendar30-Jan-06 13:10 
AnswerRe: System.Diagnostic.Process - execute and monitor return code? Pin
Mark Greenwood30-Jan-06 17:57
Mark Greenwood30-Jan-06 17:57 
Well the return code can be found by using

<br />
proc.ExitCode<br />


You can Kick off any Dos command by simply calling the dos exe/bat file/whatever

<br />
proc.StartInfo.FileName = @"ipconfig"; // For example<br />
proc.StartInfo.Arguments = @"/renew"; // Again for example<br />
proc.Start();<br />



If you want more control of how the process runs though you can use ProcessStartInfo - you can then handle passing in details and handling errors etc, even stop the command line window coming up at all.
GeneralRe: System.Diagnostic.Process - execute and monitor return code? Pin
devfendar30-Jan-06 23:53
devfendar30-Jan-06 23:53 
QuestionHow is this done? Pin
TMF32030-Jan-06 12:28
TMF32030-Jan-06 12:28 
QuestionconnectionString update not working Pin
Eugenio Lysei Junior30-Jan-06 12:12
Eugenio Lysei Junior30-Jan-06 12:12 
Questionprevent Cut 'n' Paste Pin
Greg_R30-Jan-06 10:57
Greg_R30-Jan-06 10:57 
AnswerRe: prevent Cut 'n' Paste Pin
likefood30-Jan-06 11:03
likefood30-Jan-06 11:03 
AnswerRe: prevent Cut 'n' Paste Pin
Office Lineman30-Jan-06 11:45
Office Lineman30-Jan-06 11:45 
GeneralRe: prevent Cut 'n' Paste Pin
likefood30-Jan-06 12:14
likefood30-Jan-06 12:14 
AnswerRe: prevent Cut 'n' Paste Pin
Michael Dunn30-Jan-06 13:12
sitebuilderMichael Dunn30-Jan-06 13:12 
GeneralRe: prevent Cut 'n' Paste Pin
Greg_R30-Jan-06 15:36
Greg_R30-Jan-06 15:36 
GeneralRe: prevent Cut 'n' Paste Pin
leppie30-Jan-06 21:55
leppie30-Jan-06 21:55 
QuestionJavascript variable from WebBrowser control Pin
arro200130-Jan-06 10:29
arro200130-Jan-06 10:29 
AnswerRe: Javascript variable from WebBrowser control Pin
tarasn30-Jan-06 22:35
tarasn30-Jan-06 22:35 
QuestionHashcodes Pin
Beringer30-Jan-06 10:01
Beringer30-Jan-06 10:01 
AnswerRe: Hashcodes Pin
Guffa30-Jan-06 10:17
Guffa30-Jan-06 10:17 
AnswerRe: Hashcodes Pin
Dan Neely30-Jan-06 10:19
Dan Neely30-Jan-06 10:19 
AnswerRe: Hashcodes Pin
Ingo30-Jan-06 22:59
Ingo30-Jan-06 22:59 
AnswerRe: Hashcodes Pin
Le centriste31-Jan-06 1:52
Le centriste31-Jan-06 1: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.