Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Add-ins for Outlook (http://www.outlookbanter.com/add-ins-outlook/)
-   -   Ask to Ribbons (http://www.outlookbanter.com/add-ins-outlook/99553-ask-ribbons.html)

ChristianH January 28th 10 11:05 AM

Ask to Ribbons
 
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

Ken Slovak - [MVP - Outlook] January 28th 10 03:46 PM

Ask to Ribbons
 
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



ChristianH January 29th 10 09:13 AM

Ask to Ribbons
 
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


.



All times are GMT +1. The time now is 12:22 PM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com