Problem with ComAddin sample code

  • Thread starter Scott McPhillips [MVP]
  • Start date
S

Scott McPhillips [MVP]

I'm studying building addins for Word, and have started with the
ComAddin sample code provided in KB article Q230689. This is C++ code
at the raw COM level. To show the basics all it does is pop up a
message box when it is loaded, and create a button in Word, and pop
another message box when the button is clicked. That works ok, but then
if a document is opened in Word the button stops working. Any clues why
that would happen?
 
P

Perry

Show some code.

Eventhough the scope of this NG isn't covering yr development platform, from
the contents and the Word object model knowledge people will likely to give
you pointers
from the MS Word object modell point of view.


--
Krgrds,
Perry

System:
Vista/Office Ultimate
VS2005/VSTO2005 SE
 

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