View Single Post
Old 07-08-2009, 09:17 PM   #1
Seņor Member
ListO's Avatar
Join Date: Feb 2000
Location: Hollyweird, California
Posts: 155
Thanks: 2
Thanked 0 Times in 0 Posts
ListO is on a distinguished road
Which image formats to use with ribbon buttons?

I'm trying to add my own images to buttons I'm adding to a custom ribbon in Access 2007.

I've done fine adding .jpg or .bmp images, but I would like to utilize transparencies for these images so they'll look pretty.

Although Microsoft's MSDN information says to use .png files, they don't seem to work: I get a "Runtime Error '481' - Invalid Picture" in the OnLoadImage code if I try to use that format.

If I use a .gif in which I've set a particular color as the transparency color, that image opens and displays, but with the so-called transparency color showing.

Do I need to do something differently to use a .png file rather than .jpg? MS recommends it, but it doesn't seem to work.

Is there a better or different image format that I SHOULD be using?

Thanks for the help.

ListO is offline   Reply With Quote