Call the .exe program in .NET.

xiaoxiao2021-03-06  39

Can be achieved through the Process class and the ProcessStartInfo class ...

Such as:

Dim MyProcess As New Process

MyProcess.Startinfo.FileName = "Notepad.exe"

MyProcess.startinfo.windowStyle = processWindowStyle.maximized

MyProcess.Start ()

or

System.Diagnostics.Process.start ("cmd.exe", "/ c notepad")

转载请注明原文地址:https://www.9cbs.com/read-52180.html

New Post(0)