I want to run an external .exe inside VB.Net. I am using these two objects to run the external process:
Dim pInfo As New ProcessStartInfo()
Dim p As Process = Process.Start(pInfo)
The .exe contains popups (MsgBox functions). My questions are:
- Is it possible to suppress these popups?
- How can I capture the return value from .exe? The .exe returns 0 or 1.