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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Shell command

Status
Not open for further replies.

developer155

Programmer
Jan 21, 2004
512
US
I am calling another vb program from my vb program. Is there a way to make sure that the vb program that I am calling has finished before moving forward. What I see when I debug is that after Shell command control goes to the next statement within a few seconds, but the program that I called still keeps executing for a few minutes

thanks!!!
 
Do a search on the forum for ShellAndWait - there are several examples around, including a demo of use in faq222-4910

________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first

'If we're supposed to work in Hex, why have we only got A fingers?'
 
Ore take a look at this tread,
thread222-859655
It worked for me.

Tom
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top