I am using the Process class to start up an application. I am running a loop so that the program opens and shuts each time it runs, but the program doesn't automatically shut down completely leaving about a coupple seconds of overhead. This leaves the process open when the second one wishes to open and causes a problem.
Is there a way to add a delay between each process start?
Comments
:
: Is there a way to add a delay between each process start?
:
In VB.Net: use System.Threading.Thread.Sleep(intMilliSeconds as Integer)
Greetz!
Bart
Make fun of your life ;-)