"Phantom" copy of WINWORD.EXE

B

Bob

I am running Windows XP Pro with SP1 and Office XP.
When I start OUTLOOK, there is also a copy of WINWORD that gets started.
When I close OUTLOOK, the WINWORD continues to exist.

This becomes a problem when I run the VB program I have written which
generates WORD documents. If there is an existing copy of WinWord running,
then I ge all sorts of strange errors including putting text into a
previously open document. I have to ensure that there is no other copy of
WINWORD running before executing my program.

Has anyone else noticed this phantom execution of WINWORD on their systems?

How I can determine at runtime that there is no copy of WINWORD already
running?

Thanks for any insights

Bob
 
J

Jonathan West

Hi Bob,

This sounds like Word is being used as the message editor in Outlook.

To check, you can iterate through the Tasks collection and see if there is a
task whose name includes "Microsoft Word".
 

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

Top