Solved Incomplete or broken reference (1 Viewer)

yamus

Member
Local time
Today, 14:10
Joined
Aug 12, 2020
Messages
81
Hello
I have an Access app i made using Access 2013
When i copied the file on a different computer and when i ran the app, an error message popped that says
Your database or project Micorsoft access contains incomplete or broken reference to the file "System.windows.forms.tlb" version 2.4
Any help please
 

arnelgp

..forever waiting... waiting for jellybean!
Local time
Today, 21:10
Joined
May 7, 2009
Messages
19,247
add the reference (on diff pc) in VBA (Tools->References).
 

yamus

Member
Local time
Today, 14:10
Joined
Aug 12, 2020
Messages
81
add the reference (on diff pc) in VBA (Tools->References).
It says missing
 

Attachments

  • Capture.PNG
    Capture.PNG
    31.8 KB · Views: 259

Gasman

Enthusiastic Amateur
Local time
Today, 14:10
Joined
Sep 21, 2011
Messages
14,352
Well it must have existed on the other computer?
Look to see what file is for that lib and copy to new computer as arnelgp indicates.
 

The_Doc_Man

Immoderate Moderator
Staff member
Local time
Today, 08:10
Joined
Feb 28, 2001
Messages
27,223
Sometimes when you have a different version of the operating system on one computer than on another, their references will be moved to very different folders. Access is limited in updating references. Was that reference perhaps not in the same folder as most of the other references?
 

isladogs

MVP / VIP
Local time
Today, 14:10
Joined
Jan 14, 2017
Messages
18,247
Make sure you have installed .NET framework version 4.0. That should install and register the required file.

Alternatively, check whether you really need that reference. Does your code compile without it?
I've never used that reference in 20+ years working with Access
 

yamus

Member
Local time
Today, 14:10
Joined
Aug 12, 2020
Messages
81
Thank you all for the help
I found the reference at the bottom of the reference list
 

Users who are viewing this thread

Top Bottom