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()   
                
        
    
 
                    转载请注明原文地址: https://ibbs.8miu.com/read-16549.html