I have to execute a program(a .exe) from within VB and wait for the routines to finish execution. Can I do this without using the function Shell? If yes, how?
Printable View
I have to execute a program(a .exe) from within VB and wait for the routines to finish execution. Can I do this without using the function Shell? If yes, how?
you can use the following APIs to do what you want:
- CreateProcess
- WaitForSingleObject