MS Access on 32 / 64 Bit

I have created an mdb file, put alot of work into it and now when I put iton to a 64bit PC I ma getting the following error.

Any quick ways of getting around this without writing all my code again.
BrogrimInformation Systems Development ManagerAsked:
Who is Participating?
Jim Dettman (Microsoft MVP/ EE MVE)Connect With a Mentor PresidentCommented:
BTW, here is some helpful info:

This will help you determine what might need to be changed:

Microsoft Office Code Compatibility Inspector user's guide

also read:

 Compatibility Between the 32-bit and 64-bit Versions of Office 2010

and the section "Introducing the VBA 7 Code Base" for the general overview.

All the new 64 bit calls are here:

a list of all the calls that were modified for 64 bit:

Jim Dettman (Microsoft MVP/ EE MVE)PresidentCommented:
It's not that you put it on a 64 bit PC, it's that you are running it with a 64 bit edition of Office.

The quick simple way, dpending on the client is to install 32 bit Office instead of 64 bit.  Then no changes are required.   Even Microsoft still recommends this.  Only thing 64 bit Office gains you is extremely large spreadsheets in Excel.

 Beyond that, it may or may not be easy.   You can try adding the PtrSafe attribute to all your API calls and that might be enough.   Depending on the calls however, some may need to be modified.

 Last, if you don't want to maintain two versions of the app, then you'll need to add compiler directives for the different calls.

BrogrimInformation Systems Development ManagerAuthor Commented:
Install 32 bit Office seems the solution
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.