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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top