commandbar.picture - Automation error

N

Noël Thoelen

I want to use the picture and mask property of a commandbar object to set a
custom image to a commandbar.
Is there any VB6 example on how to do this ?
I always get an automation error when i try to set this property
 
K

Ken Slovak - [MVP - Outlook]

The Picture and Mask properties are only available for a CommandBarButton
object. Look in the Help for Mask or Picture in the Object Browser, there's
code there that's completely compatible with VB 6. You would also have to be
using only Outlook 2002 or later, the Picture and Mask properties aren't
available in Outlook 2000 or earlier.
 

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