Pause program execution until other application finishes 
Author Message
 Pause program execution until other application finishes

I have an application that launches excel and displays a particular
workbook. I need to pause program execution until the user closes the
workbook. can anyone give me information on how to do this.

TIA

Chris



Mon, 21 Nov 2005 18:13:29 GMT  
 Pause program execution until other application finishes
Make it a specific workbook, not just any old one. That
way, you can put in its Workbook_BeforeClose event the
code to call the function you want called when they've
done the Excel stuff. Alternatively, if you don't want
them to do anything else while Excel is in operation, have
your application quit when Excel has started, and have the
Workbook_BeforeClose event Shell your application with a
certain command line argument, then you can find out
whether this was used and what it was with the Command$
variable.

Quote:
>-----Original Message-----
>I have an application that launches excel and displays a
particular
>workbook. I need to pause program execution until the
user closes the
>workbook. can anyone give me information on how to do
this.

>TIA

>Chris

>.



Sun, 11 Dec 2005 22:09:35 GMT  
 Pause program execution until other application finishes
Alternatively embed an Excel workbook into one of your
application's forms. I think this is possible.

Quote:
>-----Original Message-----
>I have an application that launches excel and displays a
particular
>workbook. I need to pause program execution until the
user closes the
>workbook. can anyone give me information on how to do
this.

>TIA

>Chris

>.



Sun, 11 Dec 2005 22:10:10 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Help Pausing VB4 execution until DOS app finishes (Not Windows App)

2. halting VB program execution until OS finishes

3. Pausing loop until printing finished

4. Pausing loop until printing finished

5. Calling an external program (and waiting until it's finished)

6. Waiting until external program finished to continue processing

7. How can I wait until a program finishes ?

8. Pausing the application till a procedure has finished.

9. pausing the execution of an application

10. Pausing program execution

11. How to pause Program Execution?

12. Determine whether a external program (process) has finished execution successfully

 

 
Powered by phpBB® Forum Software