Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Word
application.errors
conversions
docmanagement
drawing.graphics
formatting.longdocs
international
internet.assistant
mail
mailmerge.fields
menustoolbars
newusers
numbering
oleinterop
pagelayout
printingfonts
setup.networking
spelling.grammar
tables
vba.addins
vba.beginners
vba.customization
vba.general
vba.userforms
web.authoring
word6-7macros
word97vba
  
 
date: Sun, 25 Feb 2007 13:05:39 -0500,    group: microsoft.public.word.vba.addins        back       


ComAddin sample ribbon problem with Word 2007   
I am studying how to develop COM addins using unmanaged C++, and the 
ComAddin sample provided in KB230689 is a good start.  (It just puts a 
button in a toolbar.)

It's working with Word and Excel 2003, and with Excel 2007.  But with 
Word 2007 it loads, the "Addins" ribbon tab briefly appears, but then it 
disappears.  Seems to be a problem with the ribbon: the addin is still 
connected but the Addins tab won't stay displayed.  Any clues?

And, any good book or resource recommendations for developing Word 
addins would be welcome.  Thanks!

-- 
Scott McPhillips [VC++ MVP]
date: Sun, 25 Feb 2007 13:05:39 -0500   author:   Scott McPhillips [MVP] org-dot-mvps-at-scottmcp

Re: ComAddin sample ribbon problem with Word 2007   
If you are targeting 2007, then you shouldn't be using the CommandBars 
model. See 
http://blogs.msdn.com/jensenh/archive/2006/12/08/using-ribbonx-with-c-and-atl.aspx
For getting started on doing an unmanaged C++ add-in with RibbonX

Patrick Schmid [OneNote MVP]
--------------
http://pschmid.net
***
Office 2007 RTM Issues: http://pschmid.net/blog/2006/11/13/80
***
Customize Office 2007: http://pschmid.net/office2007/customize
RibbonCustomizer Add-In: http://pschmid.net/office2007/ribboncustomizer
OneNote 2007: http://pschmid.net/office2007/onenote
***
Subscribe to my Office 2007 blog: http://pschmid.net/blog/feed

"Scott McPhillips [MVP]" <org-dot-mvps-at-scottmcp> wrote in message 
news:#pWiCfQWHHA.1200@TK2MSFTNGP02.phx.gbl:

> I am studying how to develop COM addins using unmanaged C++, and the
> ComAddin sample provided in KB230689 is a good start.  (It just puts a
> button in a toolbar.)
>
> It's working with Word and Excel 2003, and with Excel 2007.  But with
> Word 2007 it loads, the "Addins" ribbon tab briefly appears, but then it
> disappears.  Seems to be a problem with the ribbon: the addin is still
> connected but the Addins tab won't stay displayed.  Any clues?
>
> And, any good book or resource recommendations for developing Word
> addins would be welcome.  Thanks!
>
> --
> Scott McPhillips [VC++ MVP]
date: Sun, 25 Feb 2007 19:53:38 +0000   author:   Patrick Schmid [MVP]

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us