How to tell the end of a shell
- From: inquirer <noreply@xxxxxxxxxxx>
- Date: Sat, 10 May 2008 14:25:40 +1000
I have a VB6 program which runs shell which runs another program which in turn creates a file. As soon as I call the shell, I run a subroutine which essentially pauses the main program for a few seconds whilst the new file is created. I then use VB to open Word and read the newly created file.
This works fine when running from my hard disk but when I try to run it from a USB memory stick, the shell program takes several minutes to create the file.
I need to be able to pause the main program until the shell program has finished so I can then open the new file in Word.
Is there any way I can find out when the shell program has finished creating the new file?
Thanks
Chris
.
- Follow-Ups:
- Re: How to tell the end of a shell
- From: Rick Raisley
- Re: How to tell the end of a shell
- From: Jason Keats
- Re: How to tell the end of a shell
- From: Ralph
- Re: How to tell the end of a shell
- From: MP
- Re: How to tell the end of a shell
- Prev by Date: Re: Mousepointer question
- Next by Date: Re: How to tell the end of a shell
- Previous by thread: defend against Operation Sudden Fall
- Next by thread: Re: How to tell the end of a shell
- Index(es):
Relevant Pages
|