>Dim myProcess As Process = Process.Start(exe file or other file) >>Now if you want more control and define what type of window is to display, auguments that you want to pass to the exe, you can use the next code.
>Dim processInfo As ProcessStartInfo >processInfo = New ProcessStartInfo("my.exe") >processInfo.Arguments = "anyarg" >processInfo.WindowStyle = ProcessWindowStyle.Normal >Dim myProcess As Process= Process.Start(processInfo) >myProcess.WaitForExit(5000) >' this will wait 5 secs for the process to exit, then you can check if the myProcess.HasExit >to see if the process had finish or if 5 secs has elapsed and the process is still running. >>