form hangs after starting the new thread?

alanchinese

Regular
Joined
Jan 12, 2005
Messages
62
the UsersForms opens up, but the orginal form hangs...
why is it like that?

Dim psi As New ProcessStartInfo
psi.FileName = "UsersForms\bin\UsersForms.exe"
psi.Arguments = "true true"
Process.Start(psi)
 
If you put WaitToExit then it will hang your application till the called executable exits. If this is causing problems you could either not wait and have both apps running.
As an alternative you could handle the Process.Exited event to react to the spawned application closing.
 
Back
Top