BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Taking control of a running instance of Word

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi OLE Automation
View previous topic :: View next topic  
Author Message
Herbert dela Cruz
Guest





PostPosted: Thu Sep 14, 2006 7:26 am    Post subject: Taking control of a running instance of Word Reply with quote



Hi!

I just like to know if it's possible to "take control" of a running
instance of Word. Basically, what's needed is for the application to
save all open Word documents.

Your help is highly appreciated, thanks.

Cheers!

- Herbert
Back to top
Marc Rohloff [TeamB]
Guest





PostPosted: Thu Sep 14, 2006 7:41 am    Post subject: Re: Taking control of a running instance of Word Reply with quote



On Thu, 14 Sep 2006 10:26:23 +0800, Herbert dela Cruz wrote:

Quote:
I just like to know if it's possible to "take control" of a running
instance of Word. Basically, what's needed is for the application to
save all open Word documents.

You should use the GetActiveObject API. See here
http://www.djpate.freeserve.co.uk/AutoWord.htm

--
Marc Rohloff [TeamB]
marc rohloff -at- myrealbox -dot- com
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi OLE Automation All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.