View Single Post
  #7  
Old July 10th 07, 03:10 PM posted to microsoft.public.outlook.program_addins
Christian Havel
external usenet poster
 
Posts: 43
Default Insert Ribbon buttons into QuickAccessToolbar problem

Hi Ken,

with the following code I tried it:

customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui"
loadImage="LoadImage"ribbontabstab idMso="qat" button
id="IDS_WaehlenCombo" label="Wählen" onAction="cmdCommonRibbonBttn"
getImage="GetImage" /button id="IDS_Auflegen" label="Auflegen"
onAction="cmdCommonRibbonBttn" getImage="GetImage" /button
id="IDS_Aktionen" label="Aktionen" onAction="cmdCommonRibbonBttn"
getImage="GetImage"//tab/tabs/ribbon/customUI

Outlook says that there are some problems with the button in the tab. ????
Christian

"Ken Slovak - [MVP - Outlook]" wrote:

Is it better if you change:

tab idMso="quat"

to

tab idMso="qat" ?

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Christian Havel" wrote in
message ...
Hi Ken,

I tried it with the following code:

customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui"
loadImage="LoadImage"ribbontabstab idMso="quat" button
id="IDS_WaehlenCombo" label="Wählen" onAction="cmdCommonRibbonBttn"
getImage="GetImage" /button id="IDS_Auflegen" label="Auflegen"
onAction="cmdCommonRibbonBttn" getImage="GetImage" /button
id="IDS_Aktionen" label="Aktionen" onAction="cmdCommonRibbonBttn"
getImage="GetImage"//tab/tabs/ribbon/customUI

and received the following error message (translated from german):

Errorcode: 0x80004005
Element '{http://schemas.microsoft.com/office/2006/01/customui}button' is
corresponding to the "Inhaltsmodell" from the higher element
'{http://schemas.microsoft.com/office/2006/01/customui}tab' unexpected

Christian



Ads