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]
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]