MS Access 2007 -2010 & 32bt to 64bt Issues

Asked By 50 points N/A Posted on -
qa-featured

Hi

I have recently upgraded MS office 2007 to MS office 2010.

When I tried to open an application that I made in MS access 2007 in MS office 2010, I got an error.

Actually the application was made in MS access 2003 that I later converted into MS access 2007.

Now it is not converted into MS access 2010.

The screenshot of the error message is attached below:

Compile Error

The code in this project must be updated for use in 64 bit systems. Please review and update Declare statements and then mark them with the PtrSafe attribute.

OK Help

Any help in this regard will be highly appreciated?

Looking forward to your comments

Kindest regards

SHARE
Best Answer by Gazelle Eliza
Answered By 0 points N/A #191762

MS Access 2007 -2010 & 32bt to 64bt Issues

qa-featured

Hi

Ms Office is backward compatible. You need to open ms access file in ms access2007 and save to its native format. The reason for this is new 64bit architecture of machines. The old version of ms acess2007 was saving application for 32bit architecture now which is transform in 63bit. You need to compile you application again in ms access 2007 and then save.

Thank you

 

Best Answer
Best Answer
Answered By 0 points N/A #191763

MS Access 2007 -2010 & 32bt to 64bt Issues

qa-featured

 

 

 

If you have updated to MS Office 2007 64Bit from a 32bit version then you are heading the wrong way, but the error message “the code in this project must be update for use on 64bit systems….” Also emphasize the solution you are looking for, the line “…marks them with the PtrSafe attribute” is your solution. In your API and function declaration add the line “PtrSafe” as like the following “PrivateDeclare Ptrsafe Function….” In order to make your code compatible between 64bit and 32bit in MSACESS always add the PtrSafe to it. 

Related Questions