View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
Greg Wilson Greg Wilson is offline
external usenet poster
 
Posts: 747
Default sequential Shell commands?

This source was given to me by Tom Olgilvy for a similar situation back in
September. It worked perfectly:

http://support.microsoft.com/?Â*id=129796
HOWTO: 32-Bit App Can Determine When a Shelled Process Ends

If it works, don't thank me, thank Tom.

Regards,
Greg







--
Regards,
Tom Ogilvy




"steve66" wrote:

I'm using ShellExecute to launch 2 executables. The first one has to finish
before the second one can be executed. Is there a way to ensure that they are
executed sequentially without using the "Wait" command?

Thanks,
Steve