We help IT Professionals succeed at work.
Get Started

Ribbon callback error with Access runtime 2010 and 64 bits windows

pdsavard asked
Last Modified: 2012-05-12

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">

Open in new window

The callback function is in a module:
Sub Ribbon_loadImage(imageId As String, ByRef image)

Open in new window

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?

Thank you.

Watch Question
This problem has been solved!
Unlock 1 Answer and 3 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE