![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Hi,
I have three VB6 COMAddIns for Microsoft Outlook. I know that I can create in OL2010 a Ribbon for the OL-MainFrame. In older OL versions I had created one commandBar per COMAddIn. Unloading the COMAddIn I removed the commandBar from the inspectors. Well, is it possible, that I only have one Ribbon? Each VB6COMAddIn checks if the Ribbon already exists (created by one of the other COMAddIns) and extends if with its specific buttons. Is this possible? Christian |
Ads |
#2
|
|||
|
|||
![]()
Yes, that can be done, but it's a bit messy.
First of all, I don't know how you're handling the ribbon interfaces from VB6, but if your addin is developed using Outlook 2003 or earlier and you're using the XLIRibbonExtensibility tlb to provide the interfaces you can extend them using the same methods used originally to produce the tlb. See http://xldennis.wordpress.com/2006/1...h-com-add-ins/ for information on that. Basically what you do is create a shared namespace (xmlns) and use idQ across your addins to add to the ribbon from any of them. There's a lot on this, from MS and various other articles and blogs, so the best thing is to probably do a Google search on "ribbon idq" and start browsing that information. I've never done it for Outlook addins, but I have helped XL-Dennis, the author of that article I pointed you to, do them in Excel COM addins so I know it works. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "ChristianH" wrote in message ... Hi, I have three VB6 COMAddIns for Microsoft Outlook. I know that I can create in OL2010 a Ribbon for the OL-MainFrame. In older OL versions I had created one commandBar per COMAddIn. Unloading the COMAddIn I removed the commandBar from the inspectors. Well, is it possible, that I only have one Ribbon? Each VB6COMAddIn checks if the Ribbon already exists (created by one of the other COMAddIns) and extends if with its specific buttons. Is this possible? Christian |
#3
|
|||
|
|||
![]()
Hi Ken,
thanks for the information and your help. Christian "Ken Slovak - [MVP - Outlook]" wrote: Yes, that can be done, but it's a bit messy. First of all, I don't know how you're handling the ribbon interfaces from VB6, but if your addin is developed using Outlook 2003 or earlier and you're using the XLIRibbonExtensibility tlb to provide the interfaces you can extend them using the same methods used originally to produce the tlb. See http://xldennis.wordpress.com/2006/1...h-com-add-ins/ for information on that. Basically what you do is create a shared namespace (xmlns) and use idQ across your addins to add to the ribbon from any of them. There's a lot on this, from MS and various other articles and blogs, so the best thing is to probably do a Google search on "ribbon idq" and start browsing that information. I've never done it for Outlook addins, but I have helped XL-Dennis, the author of that article I pointed you to, do them in Excel COM addins so I know it works. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "ChristianH" wrote in message ... Hi, I have three VB6 COMAddIns for Microsoft Outlook. I know that I can create in OL2010 a Ribbon for the OL-MainFrame. In older OL versions I had created one commandBar per COMAddIn. Unloading the COMAddIn I removed the commandBar from the inspectors. Well, is it possible, that I only have one Ribbon? Each VB6COMAddIn checks if the Ribbon already exists (created by one of the other COMAddIns) and extends if with its specific buttons. Is this possible? Christian . |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Ribbons and XML-Description | ChristianH | Add-ins for Outlook | 4 | January 28th 10 11:55 AM |
Outlook 2010 Ribbons | ChristianH | Add-ins for Outlook | 6 | November 30th 09 01:53 PM |
Hide errors in Ribbons | Christian Havel | Add-ins for Outlook | 2 | January 14th 09 08:50 AM |
multiple ribbons with the same ribbonID | Nikolas | Outlook - Using Forms | 6 | December 11th 06 05:10 PM |
Outlook 2007 Ribbons and VB6 | Sanjay Singh | Add-ins for Outlook | 13 | October 30th 06 09:26 PM |