在.Net中調用.exe 程序

可以通process 類和 ProcessStartInfo 類來實現...
如:
    Dim myProcess As New Process
        myProcess.StartInfo.FileName = "Notepad.exe"
        myProcess.StartInfo.WindowStyle = ProcessWindowStyle.Maximized
        myProcess.Start()

或 
  System.Diagnostics.Process.Start("CMD.exe", "/c NotePad ")

posted on 2005-03-01 16:44  封起De日子  阅读(124)  评论(0编辑  收藏  举报

导航