I have an Access 2007 application with a SQL database. The application is compiled in accde.
I load a custom ribbon (XML file). In the XML file, I use a "loadImage" callback:
<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui" loadImage="Ribbon_loadImage">
The callback function is in a module:
Sub Ribbon_loadImage(imageId As String, ByRef image)
Users run this application with the Access 2010 32 bits runtime. All is correct except for users wich have windows 7 64 bits. They have an error "cannot run the macro or callback function 'Ribbon_loadImage'. Make sure the macro or function exists and takes the correct parameters".
The consequence is that the menus in my custom ribbon contain nothing. If I remove the "loadImage" callback from the XML file, the menus in my custom ribbon are correct (but without image).
Do you have any idea on this problem with windows 7 64 bits users?