Launch External Process and Wait (Shell and Wait) Dim myProcess As System.Diagnostics.Process = New System.Diagnostics.Process() myProcess.StartInfo.FileName = "c:\somepath\somefile.txt" myProcess.StartInfo.WindowStyle = System.Diagnostics.ProcessWindowStyle.Normal myProcess.Start() myProcess.WaitForExit() myProcess.Close()
|
|
|