If you start an exe file by using a Process, you can set certain ProcessStartInfo parameters beforehand, such as CreateNoWindow = True (to hide the process), as in this example:

Dim myExe As New Process
Dim p As New System.Diagnostics.ProcessStartInfo
p.FileName = "cmd.exe" 'starts the cmd console
p.UseShellExecute = False
p.CreateNoWindow = True 'hides the cmd window
myExe.StartInfo = p
myExe.Start()

Once a process is started is it possible to 'undo' the hiding, without stopping and restarting the process? I would like to use:

p.CreateNoWindow = False

to unhide a hidden console application, but it does not work. Is there a way?

Rock