old file problem (1 Viewer)

alqareeb

New member
Local time
Today, 12:02
Joined
Aug 11, 2020
Messages
8
i am not professional in access but i created this file long time ago and since then i did not use access but with the new version of access i cannot open the file and i cannot figure the problem if any body can help i will be great full
 

Attachments

  • Lab No 2013.accdb
    4.7 MB · Views: 93

theDBguy

I’m here to help
Staff member
Local time
Today, 02:02
Joined
Oct 29, 2018
Messages
21,467
Hi. Welcome to AWF!

Which version of Access are you using? I was able to open it using Access 2016.
 

alqareeb

New member
Local time
Today, 12:02
Joined
Aug 11, 2020
Messages
8
2019 version
 

theDBguy

I’m here to help
Staff member
Local time
Today, 02:02
Joined
Oct 29, 2018
Messages
21,467
2019 version
I see there's an API in it. Can you please verify that you're using 64-bit version of Access 2019? Thanks.

When you open the file, what error message do you see?
 

alqareeb

New member
Local time
Today, 12:02
Joined
Aug 11, 2020
Messages
8
this message! at start and the form are not opening
 

Attachments

  • 1.png
    1.png
    38.9 KB · Views: 100

theDBguy

I’m here to help
Staff member
Local time
Today, 02:02
Joined
Oct 29, 2018
Messages
21,467
this message! at start and the form are not opening
That usually indicates a missing reference. Can you check? What happens when you click OK? When I open the file you posted, I see the startup form open.
 

alqareeb

New member
Local time
Today, 12:02
Joined
Aug 11, 2020
Messages
8
thanx but this error pop up
 

Attachments

  • 3.png
    3.png
    111.9 KB · Views: 101

theDBguy

I’m here to help
Staff member
Local time
Today, 02:02
Joined
Oct 29, 2018
Messages
21,467
thanx but this error pop up
Right, that's the part I asked about earlier. You must have a 64-bit version, but could you please confirm it though?

Go to File > Account > About Access
 

theDBguy

I’m here to help
Staff member
Local time
Today, 02:02
Joined
Oct 29, 2018
Messages
21,467
Try changing it to this:
Rich (BB code):
Private Declare PtrSafe Function IsWindowVisible Lib "user32" (ByVal hwnd As LongPtr) As Long

Private Declare PtrSafe Function ShowWindow Lib "user32" (ByVal hwnd As LongPtr, _
     ByVal nCmdShow As Long) As Long
 

Users who are viewing this thread

Top Bottom