Click to See Complete Forum and Search --> : Running an executable question


February 17th, 2000, 10:57 PM
How do I run an executable from VB? Like WinExec in C++, what is the VB command?
Thank you!

Ravi Kiran
February 17th, 2000, 11:14 PM
simple, async running: SHELL

If you want to wait for the exe to be terminated, then CreateProcess API call to start the process, , and WaitForSingleObject to wait till it finishes.


RK