View Single Post
  #1  
Old July 26th 07, 04:52 PM posted to microsoft.public.outlook.program_addins
John Svercek
external usenet poster
 
Posts: 3
Default Compile Addin for OL 2000 thru 2007

I have an addin for Outlook that works in 2000 thru 2003. It also works in
2007 with a few changes. However, the 2007 version puts the buttons in the
Add-Ins tab. I have made changes to customize the Ribbon with my own tab &
everything works if I compile in 2007. However, since OL 2000 does not
contain the Ribbon definition, the addin will not compile there. I found a
partial solution by using a tlb that defines the IRibbonControl &
IRibbonExtensibility. By referencing this tlb, I can get the addin to compile
in 2000 and run in all versions.

The problem is I cannot include a definition for IRibbonUI in my code (it is
not defined in the tlb). Without this I cannot reload the Ribbon if something
changes. I tried late binding IRibbonUI, which works from a compile
standpoint, but according to other posts in Office Developer, late binding is
not supported.

Does anyone have another solution

The above mentioned tlb can be found at

http://www.xtremevbtalk.com/showthre...+200 7+ribbon

--
John Svercek
Ads