473,406 Members | 2,369 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Missing DAO 2.5/3.5 Compatibility Library

Hi,
The problem i'm having is that, i've been updating an access 97
database that was originally created in an NT4 environment. My machine
is running xp and the same developers edition of access 97. The current
database runs fine on the users machine with no erros at all. but when
using my updated database all Date() fields appears as Name? and throw
error "missing project or library" when used in code. I also have
problems using Set dbsDatabase As Database commands.

I believe the problem is something to do with the old database using an
old NT4 version of doa2535.tlb and com32dlg.ocx and when i have updated
it, it now uses an xp version of the files which the users access
doesn't recognise.

A quick fix for this would be to access tools --references, and
unclick, reclick the missing files, however this only works for the
time the user is logged in, and reverts back to errors as soon as the
log off/log back on.

I have had the though of downgrading a machine to NT4 and re-working
the whole database in that environment, but that is something i'd
rather avoid as development time is already at 2-3 months.

thanks in advance

Richard

Aug 19 '06 #1
3 17428
This library was to help bridge the gap from early 16-bit versions to Access
95/97. It is now obsolete.

In most databases, it is a relatively easy task to remove it completely, and
just use the DAO 3.6 library. 3.6 recognises most of the old constants. You
can search'n'replace most of the items that won't compile. For example,
find:
Dim MyVariable As Dynaset
and replace with:
Dim MyVariable As DAO.Recordset

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

<ka************@hotmail.comwrote in message
news:11********************@b28g2000cwb.googlegrou ps.com...
>
The problem i'm having is that, i've been updating an access 97
database that was originally created in an NT4 environment. My machine
is running xp and the same developers edition of access 97. The current
database runs fine on the users machine with no erros at all. but when
using my updated database all Date() fields appears as Name? and throw
error "missing project or library" when used in code. I also have
problems using Set dbsDatabase As Database commands.

I believe the problem is something to do with the old database using an
old NT4 version of doa2535.tlb and com32dlg.ocx and when i have updated
it, it now uses an xp version of the files which the users access
doesn't recognise.

A quick fix for this would be to access tools --references, and
unclick, reclick the missing files, however this only works for the
time the user is logged in, and reverts back to errors as soon as the
log off/log back on.

I have had the though of downgrading a machine to NT4 and re-working
the whole database in that environment, but that is something i'd
rather avoid as development time is already at 2-3 months.

thanks in advance

Richard

Aug 19 '06 #2
"Allen Browne" <Al*********@SeeSig.Invalidwrote in
news:44*********************@per-qv1-newsreader-01.iinet.net.au:
In most databases, it is a relatively easy task to remove it
completely, and just use the DAO 3.6 library. 3.6 recognises most
of the old constants. You can search'n'replace most of the items
that won't compile. For example, find:
Dim MyVariable As Dynaset
and replace with:
Dim MyVariable As DAO.Recordset
Or just do a COMPILE and Access will tell you everything that needs
to be fixed.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Aug 19 '06 #3
Thanks, worked a treat!

Aug 29 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Rob Oldfield | last post by:
Just a quick and hopefully straightforward question.... are there any issues with web sites based on .Net not working correctly (or at all) for clients using non IE browsers (Mozilla and Firefox...
7
by: Sonny | last post by:
I need to port a library that is written entirely in C to C++. The library is supported on quite a few platforms (windows, Solaris, Linux, AIX, HP-UX, OSX, etc...) and there's quite an existing...
13
by: Derek | last post by:
As I understand it there is a good amount of link compatibility among C compilers. For example, I can compile main.c with GCC and func.c with Sun One and link the objects using either linker (GNU...
14
by: frostalicious | last post by:
Used VB.NET (on my client PC) to convert VB6 executable to .NET executable. Placed the .exe file on a network drive on my server. From client, ran .NET Wizards "Trust an Assembly" to make the...
2
by: jodyblau | last post by:
I have noticed that when I move my database onto a different computer, I often get a message about some reference missing. So I go into the reference list, and find the one that says "Missing,"...
11
by: arunvnk | last post by:
What are the methods to implemnt a GUI in C++?What are the extra heder files to be added? Is C++ as strong as Java in animation and graphics?What about the Linux compiler's compatibility in...
5
by: clintonG | last post by:
Google and Second Life have proven there are market$ and economie$ in the virtual worlds they and others have created. Applications in these virtual worlds require the use of vector graphics...
7
by: Ernesto Bascón | last post by:
Hi everybody: I want to develop a library that uses heavily templates. Is there an idiom or some tips about things that I should care of in order to provide backward compatibility with my...
17
by: osama178 | last post by:
Hi, What does it mean for an object to be binary compatible? And why aren't STL objects binary compatible? Any insights, links, resources for further reading are greatly appreciated. Thanks.
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.