Ribbon icons not visible on the Office Professional 2007

S

SumitChavan

I am building a Ribbon for MS word, Excel,PowerPoint.

I am getting this error only for Office professional 2007. In Office
Standard 2007 i can see the icons.

I went to Office Button -> Word Options -> Advanced, and in the 'General'
section, I checked the 'Show add-in user interface errors' option. After that
option is checked, the first time I try to access the StuffIt Plugins, I get
an
error message stating 'An error occurred while calling the callback
"GetImage"'. The error dialog has buttons labeled 'OK' and 'OK to All'.
Clicking the 'OK' button four times, or on 'OK to All' once, will dismiss the
error.

GetImage is my callback function to load the icons

XML snippet:
<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui"
loadImage="GetImage" >

Signature of GetImage:
Public Function GetImage(ByVal ImageName As String) As stdole.IPictureDisp

Am i missing something? Your help will be Appreciated

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top