Dim startInfo As New System.Diagnostics.ProcessStartInfo Dim MyProces As Process startInfo.FileName = myExeFileName startInfo.Arguments = myExeArgString startInfo.CreateNoWindow = True startInfo.UseShellExecute = True startInfo.WindowStyle = ProcessWindowStyle.Hidden MyProces = Process.Start(startInfo) MyProces.WaitForExit() If (MyProces.ExitCode <> 0) Then MsgBox("0x" + Hex(MyProces.ExitCode())) End If
Process
ExitCode
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)