Missing reference DAO2535.tlb

  • Thread starter Thread starter Donna J
  • Start date Start date
D

Donna J

My sister has Access 2002 and my friend has it also. My
sister created a database for my friend and when we run it
on my friend's machine, we get the following: "Your
Microsoft Access database or project contains a missing or
broken reference to the file dao2535.tlb". How do I fox
this without the code being rewritten? Also, any idea why
my sister's machine has it and my friend's does not?

Thanks--
 
Your friend needs to go into Tools | Refferences (from the VBA editor)

and set a reference to "Microsoft DAO [whatever version] Object Library"

P
 
Remove the reference to that ancient DAO library and set
one to the DAO library that's installed on the host
machine.

David Gray
P6 Consulting
http://www.p6c.com/

You are more important than any technology we may employ.
 
Re dao2535.tlb

I too have this problem and cannot find a solution.

(1) When I click on tools the references is greyed out so no help there

(2) It seems that the dao2535.tlb came with Access 1997. I have it on my old machine but not my new machine. I have copied the old file across but that is not enough. Somehow it has to be "registered". http://support.microsoft.com/kb/q177264/ says to use Regsrvr32 to do that but when I try it says that the .tlb file is not executable or something and wont do it.

I dont have the old Access 1997 disk to install it. So what now?
 
[QUOTE=ayub My sister has Access 2002 and my friend has it also. My

sister created a database for my friend and when we run it

on my friend's machine, we get the following: "Your

Microsoft Access database or project contains a missing or

broken reference to the file dao2535.tlb". How do I fox

this without the code being rewritten? Also, any idea why

my sister's machine has it and my friend's does not?
 
Go to Visual Basic form, click on tools, Reference (or Library reference).
Uncheck the MISSING dao2535.tlb.

You will probably also need to include the Microsoft DAO 3.6 Object Library to have access to objects type like Workspace
 
Back
Top