Does an addin run automatically?

L

ljh

Do addins for something like Word run automatically....in other words, can I
write an add-in that gets triggered when an event happens in Word (like
closing a document) without the user having to click my toolbar?

Are there any good resources for writing MS Office addins with VB.Net 2005?

(Yes, I'm googling.....)
 
P

Patrick Schmid

Yes you can.
To do this, you need to use the events provided by the Application and
Document objects in the Word Object Model. Unfortunately I don't know of
any good resources for writing MS Office add-ins (the VS built-in help
might be a good start though), so I hope someone else can provide a few
good links for you.
Once you have the Word PIA in VS, look at Microsoft.Office.Interop.Word
and the Application and Document objects.

Patrick Schmid
 

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