Geeks With Blogs

News


Rodney Vinyard - .NET & SQL Developer When all is said and done, more will be said than done May 2009 Entries
Shell to a process and wait synchronously
protected void Button1_Click(object sender, EventArgs e) { string executePath = System.Configuration.Config... ExecuteCommandSync(executeP... string resultfilePath = System.Configuration.Config... this.Label1.Text = System.IO.File.ReadAllText(... } public void ExecuteCommandSync(string executePath) { try { System.Diagnostics.Process p = new System.Diagnostics.Process(); // Redirect the output stream of the ......

Posted On Tuesday, May 5, 2009 7:21 AM

Copyright © Rodney Vinyard | Powered by: GeeksWithBlogs.net