Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to check if word object is closed

20 views
Skip to first unread message

Stoyan Malchev

unread,
Sep 17, 2006, 3:43:46 AM9/17/06
to
I am using VFP7
...
obj = createobject("word.application")

* ....
* ....
How to detect when word is closed?

Abhay Sobti

unread,
Oct 27, 2006, 7:06:15 AM10/27/06
to
IF TYPE("Obj")<>"O" OR ISNULL(Obj)
*** WORD is closed
ENDIF

Abhay

"Stoyan Malchev" <stoyan....@pitagor.com> wrote in message
news:%23AXyC0i...@TK2MSFTNGP03.phx.gbl...

Stoyan Malchev

unread,
Oct 29, 2006, 2:54:49 AM10/29/06
to
Thanks for your reply.
If I have to wait until WORD is closed - this is OK.

But I want to continue
Therefore I need some event when it's closed,

"Abhay Sobti" <ab...@stansoftware.com> wrote in message
news:OUqqvfb%23GHA...@TK2MSFTNGP05.phx.gbl...

AA

unread,
Oct 30, 2006, 9:31:25 AM10/30/06
to
You can set up an EventHandler() function that gets triggered by your Word
object doing a Quit.
-Anders

"Stoyan Malchev" <stoyan....@pitagor.com> skrev i meddelandet
news:%23AXyC0i...@TK2MSFTNGP03.phx.gbl...

0 new messages