G
Guest
I'm creating an Outlook 2007 addin using VSTO and I'm trying to use an icon
as the image on CommandBarButton objects. My icon is of a circle that has a
clear background, but it doesn't seem to work. When I try to use the
PictureDispConverter class that is used in many of the examples, the icon is
converted, but I get a COM error when assigning it to
CommandBarButton.Picture saying that the value is outside the expected range.
If I try to convert the to a bitmap, I loose the clear background.
Does anyone know why my converted icon wouldn't be working, or have any
suggestions of how to create/use my clear background icon?
Thanks,
Jared
as the image on CommandBarButton objects. My icon is of a circle that has a
clear background, but it doesn't seem to work. When I try to use the
PictureDispConverter class that is used in many of the examples, the icon is
converted, but I get a COM error when assigning it to
CommandBarButton.Picture saying that the value is outside the expected range.
If I try to convert the to a bitmap, I loose the clear background.
Does anyone know why my converted icon wouldn't be working, or have any
suggestions of how to create/use my clear background icon?
Thanks,
Jared