Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Shell Function??? 1

Status
Not open for further replies.

mjcotter

Programmer
Jul 9, 2001
66
US
I am using the Shell function, but I need the program/task to finish before
moving on to the next statement(s).

From the VB Help...
"By default, the Shell function runs other programs asynchronously. This
means that a program started with Shell might not finish executing before
the statements following the Shell function are executed."

Any way to take it off of default???

Thanks!
 
I am too seeking for a solution to that problem.
I used ShellExecute API function. Still, the program seems to run asynchronously.
I hope someone out there has a good solution to that problem.
fred
 
Thanks, DSI!!! FAQ222-428 seems to do the trick. Your
input is greatly appreciated.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top