Unable to display Custom Icons On outlook 2007 ribbon using VB 6.0

A

Ashok

Hi All,

I'm developing com add-in for Outlook 2007 using VB 6.0. I've used lot of
methods avail in internet to display my icon on the custom button which have
been created prog., , but i'm unable to display.

Any of your suggestion would be appreciated to resolve this problem.

(icon - .png, Tech - VB 6.0)

Regards
Ashok
 
K

Ken Slovak - [MVP - Outlook]

How are you supplying the image to the getImage() callback? Are you
supplying it as an IPictureDisp object? Are you getting any errors?

If none of those questions point the way then it might be helpful if you
actually showed a piece of the code you're using (not a huge amount, just
what's relevant).
 
A

Ashok

Hi Ken,

It is working as you said in your earlier threads, but user can't see the
button icon while debug mode(From code). Once he compiled the dll and then
use the dll user able to see the icon.

Could you please let me know how it is working different manner?

Regards
Ashok
 
K

Ken Slovak - [MVP - Outlook]

That's to be expected when in debug mode.

Think about it. A VB6 COM addin is running in-process with Outlook,
therefore it can pass the ribbon icon as an IPictureDisp object without
crossing process boundaries. IPictureDisp objects cannot be passed across
process boundaries. When running in debug mode you're not running in-process
with Outlook, you're running in-process with the VB IDE. Therefore passing
an IPictureDisp object will fail.
 
A

Ashok

Hi Ken,

With our Outlook add-in dll, it crashes our Outlook. But it is not happening
while run the application in debug mode.

Any thoughts?

Thanks & Regards
Ashokkumar P
 
A

Ashok

Hi Ken

End user can customize the ribbons in word 2007 or office 2007 or Outlook
2007(in mail editor) ?

Customize : Rename the button name ('paste' to be 'pastee'), change the
icon, etc.,

Regards
Ashokkumar P
 
K

Ken Slovak - [MVP - Outlook]

No thoughts because there's no information to go on.

What's crashing Outlook in run mode?

Are you handling all exceptions?

Where is the code crashing Outlook?
 
K

Ken Slovak - [MVP - Outlook]

Users can only customize the QAT in Office 2007, they cannot customize
either built-in or custom ribbons.
 

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