Event notifications from WORD

B

Basavaraj

Hi All,
I wanted to get notified when there word document is saved/closed. I dont
want to use MFC to implement my sink for the Connections points. Could some
one help me in the aspect.?

Thanks alot in advance.
Basavaraj
 
W

Word Heretic

G'day Basavaraj <[email protected]>,

Public Sub AutoOpen()

Public Sub AutoClose()

In the VBE help, use the answer wizard and type in Auto macro

Steve Hudson - Word Heretic

steve from wordheretic.com (Email replies require payment)
Without prejudice


Basavaraj reckoned:
 
B

Basavaraj

Hi,
Sorry that I am unable to understand this..
I want to recieve notification from a WORD document to my C++ class which
represents the sink. I am unaware of VB also. I am sorry to trouble you,
could you please explain me in terms of C++. How can i implment my sink
without using MFC..?
 
J

Jean-Guy Marcil

Basavaraj was telling us:
Basavaraj nous racontait que :
Hi,
Sorry that I am unable to understand this..
I want to recieve notification from a WORD document to my C++ class
which represents the sink. I am unaware of VB also. I am sorry to
trouble you, could you please explain me in terms of C++. How can i
implment my sink without using MFC..?

This does not seem to be vba related. You might want to try your luck in a
C++ group.
--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
(e-mail address removed)
Word MVP site: http://www.word.mvps.org
 
W

Word Heretic

G'day Basavaraj <[email protected]>,

There is a simple way to do things, and a hard way. I am suggesting
the simple way. Produce a global template whose sole purpose in life
is calling your dll based on the events it receives from Word.

See http://word.mvps.org/FAQs/index.htm

Steve Hudson - Word Heretic

steve from wordheretic.com (Email replies require payment)
Without prejudice


Basavaraj reckoned:
 
B

Basavaraj

HI,
This link which you have sent is really good one..
Only problem that i am facing is everything , i mean, each piece of code is
written in VB. and, somethings like, if you want to set title in any dialog,
that is easily wriiten in VB like, aDlg.Title = "MyName"..where as in C++ and
MFC, i am using Disp interfaces, so, i need DISP IDs for all the things that
do. I am not aware how to get DISP IDs for all the operations that i have to
perform.

Anyway, Thanks alot for your suggession.

Thanks and regards,
-Basavaraj
 

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