commandbar.picture - Automation error

  • Thread starter Thread starter Noël Thoelen
  • Start date Start date
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
 
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.
 
Back
Top