API Function for Run-Time error '452' (1 Viewer)

newbieAccess2013

New member
Local time
Yesterday, 21:04
Joined
Nov 19, 2014
Messages
4
Hi to All,

Can anyone help me regarding my problem?

This is the scenario.

I have a .mdb file generated using Access 2010.

I tried to open the file using Access 2013.

After some modifications in the connections, I have a problem.

I have a browse button that when I click, resulted to this error.

Run-time Error '452'
Can't find DLL entry point 59 in msaccess.exe

When I debug, I think this portion have problem.

Declare PtrSafe Sub ms_accSplitPath Lib "msaccess.exe" Alias "#59" _
(ByVal strPath As String, ByVal strDrive As String, _
ByVal strDir As String, ByVal strFName As String, ByVal strExt As String)

*I just added the PtrSafe for 64-bit.

I will surely appreciate all your feedbacks.

Thank you very much.
 

smig

Registered User.
Local time
Today, 07:04
Joined
Nov 25, 2009
Messages
2,209
what exactly are you trying to do ?
 

newbieAccess2013

New member
Local time
Yesterday, 21:04
Joined
Nov 19, 2014
Messages
4
Hi,

Thank you for the reply.

What i want to know is the replacement code for the error that I had.

And also can you explain what this error is about?

Run-time Error '452'
Can't find DLL entry point 59 in msaccess.exe

When I run the database in MS access 2010, it works fine.
I just experienced this error when opening the database in MS Access 2013.
 

Users who are viewing this thread

Top Bottom