From: wangyang on
I want to do some operation When the Word excute the Save operate.
how can I do it?
Thanks!


From: Tim Roberts on
"wangyang" <wangyang(a)hotmail.com> wrote:
>
>I want to do some operation When the Word excute the Save operate.
>how can I do it?

You can't. If you know what file you are interested in, you can use the
file change notification APIs to get a callback when the file changes, but
Word doesn't provide any way to hook file saving.
--
Tim Roberts, timr(a)probo.com
Providenza & Boekelheide, Inc.
From: Evolve on
Hi Tim

I am also looking for some File Change Notofication API's. Can you please
suggest what are those and how to use them.

Cheers
Evolve
"Tim Roberts" <timr(a)probo.com> wrote in message
news:5g2g14degalav1r4vklt8d6meja4ll4rdv(a)4ax.com...
> "wangyang" <wangyang(a)hotmail.com> wrote:
>>
>>I want to do some operation When the Word excute the Save operate.
>>how can I do it?
>
> You can't. If you know what file you are interested in, you can use the
> file change notification APIs to get a callback when the file changes, but
> Word doesn't provide any way to hook file saving.
> --
> Tim Roberts, timr(a)probo.com
> Providenza & Boekelheide, Inc.


From: Tim Roberts on
"Evolve" <evolveraj(a)gmail.com> wrote:
>
>I am also looking for some File Change Notofication API's. Can you please
>suggest what are those and how to use them.

Googling for "win32 file change notifications" brings up 4 good hits on the
first page, including code samples.
--
Tim Roberts, timr(a)probo.com
Providenza & Boekelheide, Inc.