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 » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Outlook2007 - Ribbons check from xml file



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old July 3rd 07, 01:30 PM posted to microsoft.public.outlook.program_vba
Christian Havel
external usenet poster
 
Posts: 43
Default Outlook2007 - Ribbons check from xml file

Hi,

exists in Outlook 2007 any option, which shows the user if there is any
failure in the xml-file, which describes a ribbon?

Christian
Ads
  #2  
Old July 3rd 07, 02:36 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Outlook2007 - Ribbons check from xml file

You can set the Outlook setting to display all addin user interface errors,
that might help some. The setting is on the Advanced Options dialog
available from the Other tab of the Tools, Options dialog.

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

exists in Outlook 2007 any option, which shows the user if there is any
failure in the xml-file, which describes a ribbon?

Christian


  #3  
Old July 3rd 07, 03:36 PM posted to microsoft.public.outlook.program_vba
Christian Havel
external usenet poster
 
Posts: 43
Default Outlook2007 - Ribbons check from xml file

Hi Ken,

thanks for your response. I activated the described function and receive the
message (translated from german):

"Exception by calling the Callbackmethod: GetImage" "

Following the VB6 method:

Public Function GetImage(ByVal control As IRibbonControl) As IPictureDisp
Dim picture As IPictureDisp
Set picture = Nothing
Set picture = LoadPicture(App.Path & "\SharedAddin.ico")
' the picture object is not nothing
Set GetImage = picture
End Function

Do you have any idea?
Christian

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

You can set the Outlook setting to display all addin user interface errors,
that might help some. The setting is on the Advanced Options dialog
available from the Other tab of the Tools, Options dialog.

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

exists in Outlook 2007 any option, which shows the user if there is any
failure in the xml-file, which describes a ribbon?

Christian



  #4  
Old July 5th 07, 02:54 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Outlook2007 - Ribbons check from xml file

I haven't used ICO files with ribbon controls, I usually try to use PNG
files so I can have transparency in the ribbon image. So I usually use a
LoadPicturePlus procedure that uses GDI+ to return an IPictureDisp object
(actually a StdPicture object) that I return in getImage.

LoadPicturePlus can be downloaded from
http://www.mvps.org/emorcillo/en/cod...magegdip.shtml.

I just call that on a file that's in the file system or that I have as a
Custom resource in my project (stored as a byte array) and then I save that
Custom resource out to the file system and point LoadPicturePlus at it.

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

thanks for your response. I activated the described function and receive
the
message (translated from german):

"Exception by calling the Callbackmethod: GetImage" "

Following the VB6 method:

Public Function GetImage(ByVal control As IRibbonControl) As IPictureDisp
Dim picture As IPictureDisp
Set picture = Nothing
Set picture = LoadPicture(App.Path & "\SharedAddin.ico")
' the picture object is not nothing
Set GetImage = picture
End Function

Do you have any idea?
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
PST file cyclic redundancy check - Help! THOMAS CONLON Outlook - General Queries 4 February 21st 07 10:01 PM
Programatically check whether pst file is password protected or not? ashwin Outlook - General Queries 2 January 4th 07 12:48 PM
multiple ribbons with the same ribbonID Nikolas Outlook - Using Forms 6 December 11th 06 04:10 PM
Outlook 2007 Ribbons and VB6 Sanjay Singh Add-ins for Outlook 13 October 30th 06 08:26 PM
Outlook express can't spell check. It says to check later. Harold Outlook - General Queries 2 September 8th 06 10:56 PM


All times are GMT +1. The time now is 06:46 AM.


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.