This is a two-part dilemma that I'm having a hard time with. I have a VB app which uses Word in the background to open, save and print a Word document.
My FIRST problem is to do with synchronization - i.e. I need to determine when Word is done printing, so that I can get it to do something else, like opening another document or perform a save as. My question is : are multiple requests handled by the Word Object, or is there an event like DonePrinting() that tells me when the document is done?
My SECOND problem is to stop Word when I'm done with the object. I do a Set [Word Object] = Nothing, however my task manager still shows WINWORD.EXE running in the processes, long after I've closed out of my app. How do I stop it?
Peace
Lego
"People have accused us of releasing the same album 16 times - that's simply not true. We've released the same album 17 times!" - Angus Young, AC/DC
My FIRST problem is to do with synchronization - i.e. I need to determine when Word is done printing, so that I can get it to do something else, like opening another document or perform a save as. My question is : are multiple requests handled by the Word Object, or is there an event like DonePrinting() that tells me when the document is done?
My SECOND problem is to stop Word when I'm done with the object. I do a Set [Word Object] = Nothing, however my task manager still shows WINWORD.EXE running in the processes, long after I've closed out of my app. How do I stop it?
Peace
Lego
"People have accused us of releasing the same album 16 times - that's simply not true. We've released the same album 17 times!" - Angus Young, AC/DC