Determine When A Executable Program Completes

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have started a executable program using the Shell command.

I actually started acrobat to convert a .pdf file into .jpg files. This was
accomplishing using VBA code. I need to start another VBA process, but it
needs to know when the acrobat process has completed.

Once I determine the acrobat process has completed, I would like to close
acrobat and start another VBA process.

Can someone help.

Thanks
 
Gary said:
I have started a executable program using the Shell command.

I actually started acrobat to convert a .pdf file into .jpg files.
This was accomplishing using VBA code. I need to start another VBA
process, but it needs to know when the acrobat process has completed.

Once I determine the acrobat process has completed, I would like to
close acrobat and start another VBA process.

See if API code at this link helps:

http://www.mvps.org/access/api/api0004.htm
API: Shell and Wait
 
Back
Top