Hide spawned process window?
Posted on 2004-10-27
I'm pretty new to VB.NET, so bear with me, please.. I am trying to spawn a process that runs at a command line (Ping, for example), but I need to hide the window so it doesn't pop up and then go away.. This process gets called 4 times in succession, and flashes up and down, making the UI very ugly.
Here's what I have so far:
dim myproc as new process
dim startinfo as new processstartinfo
startinfo.filename = "c:\winnt\system32\ping.exe"
startinfo.arguments = "127.0.0.1"
This works just fine, and does what I want, I just want to be able to make the window not visible..