Click here to Skip to main content
15,917,060 members
Please Sign up or sign in to vote.
2.20/5 (3 votes)
See more:
Does process.start() (visual basic) start a process and wait for the process to terminate or starts the process and begin executing instructions under it without waiting for the called process to terminate?
[no name] 23-Apr-13 12:07pm    
You could probably have tried and seen for yourself a lot faster.

1 solution

Starts the process and runs away.
If you want to wait, then use:
Dim p As New Process()
p.StartInfo.FileName = "D:\xyz.exe"
p.StartInfo.Arguments = "hello there"
Share this answer
compuknow 24-Apr-13 0:59am    
Does xyz.exe needs be written in the same language ie.,vbnet?
OriginalGriff 24-Apr-13 1:35am    
It can be any program the system can execute,including MsWord, Visual Studio, or an app you wrote in Pascal for Win3.11! :laugh:

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900