A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Ribbon Error



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old January 14th 09, 09:01 AM posted to microsoft.public.outlook.program_addins
Christian Havel
external usenet poster
 
Posts: 43
Default Ribbon Error

Hi,

I have a AddIn (VB6) that extends the OL UI with my own ribbon. It works
pretty fine (the most time).

Sometimes I get a error message, that in the ribbon´s XML description is a
error.
Well, I receive the error message for inspectors that normally work with the
ribbon without any problems.
Is it possible, that my XML-description is cached automatically by Outlook?

Christian
  #2  
Old January 14th 09, 04:32 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Ribbon Error

When a specific type of item is opened for the first time in an Outlook
session Outlook requests the ribbon XML in the GetCustomUI callback
(assuming you're using that callback).

So, if for example the item type passed into GetCustomUI as RibbonID is
"Microsoft.Outlook.Mail.Read", when the first mail item is opened in read
mode as opposed to "Compose" mode the ribbon XML will be requested for that
type of item.

Once that XML has been supplied it's cached for that session and the
callback is not called again for that type of item.

Normally if there's an error in the ribbon XML you see that error every time
an Inspector of that type of item is opened, since the XML has an error in
it. If it works one time it should work for all other instances of that type
of item.

If there's a question about your ribbon XML then post it here and we can
review it and see if any errors jump out at us.

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


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

I have a AddIn (VB6) that extends the OL UI with my own ribbon. It works
pretty fine (the most time).

Sometimes I get a error message, that in the ribbon´s XML description is a
error.
Well, I receive the error message for inspectors that normally work with
the
ribbon without any problems.
Is it possible, that my XML-description is cached automatically by
Outlook?

Christian


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Modify Outlook Ribbon Michael Tissington[_2_] Add-ins for Outlook 1 October 29th 08 02:01 PM
ribbon in outlook 2007 minimus[_2_] Outlook - General Queries 2 October 21st 08 12:26 AM
Names of ribbon tabs Peter Marchert[_2_] Outlook and VBA 4 July 31st 08 07:28 AM
Outlook Ribbon is missing David F. Outlook - General Queries 1 June 27th 07 08:37 PM
How do I restore the ribbon? Casimir Outlook - Installation 0 May 1st 07 12:32 AM


All times are GMT +1. The time now is 11:30 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-2025 Outlook Banter.
The comments are property of their posters.