1.1 How can I run an EXE from within my application?


Use the Process class found in the System.Diagnostics namespace.

[C#]
     Process proc = new Process();
     
     proc.StartInfo.FileName = @"Notepad.exe";
     proc.StartInfo.Arguments = "";
     proc.Start();

[VB.NET]
     Dim proc As New Process()

     proc.StartInfo.FileName = "Notepad.exe"
     proc.StartInfo.Arguments = ""
     proc.Start()


© 2001-2010 Copyright Syncfusion Inc. All rights reserved.  |  Privacy Policy  |  Contact  |  Sitemap