I'm trying to design a custom menu in Access 2010. I want transparency for my icons, but am having trouble getting the icons to show up.
I have tried to follow the directions found at http://www.accessribbon.de/en/?Access_-_Ribbons:User_Defined_Icons___Pictures_In_Ribbon_Controls
but no joy.
My ribbon XML is as follows:
<tab idMso="TabCreate" visible="true" />
<tab id="dbCustomTab" label="Test Menu" visible="true">
<group id="dbCustomGroup" label="Test" >
<button id="OpenfrmPOEntry_0_7290FC08" label="PO Entry" imageMso="getImages" onAction="OnButtonPress" size="large"/>
The function for getting the image is as follows:
Public Sub getImages(control As IRibbonControl, _
Set image = LoadPictureGDIP(getAppPath & "cash1.png")
I do have the function getAppPath so it does resolve to the correct path, though I have also tried specifying the exact path ("C:\etc. etc.") If I put "msgbox getAppPath & "cash1.png"" into the immediate window I get the correct path.
I do have the function basGDIPlus as specified on accessribbon.de's page listed above. It can be found here: http://www.accessribbon.de/Count/count.php?id=73
My ribbon loads ok and performs the code I have assigned to it, but no picture. I have tried a number of sizes and resolutions, including 300x300, 32x32, 64x64, 16x16. I am exporting the png out of Gimp using these settings:
Any help would be appreciated.