473,668 Members | 2,452 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 17457
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'replac e 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.comwro te in message
news:11******** ************@b2 8g2000cwb.googl egroups.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*********@Se eSig.Invalidwro te in
news:44******** *************@p er-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'replac e 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
2009
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 being the two major concerns obviously)? Thanks
7
2147
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 customer base that uses it. I need to maintain backwards compatibility such that existing users won't have to do anything to their existing applications other than a re-compile when they upgrade to this new version of the library. I figure that I...
13
2690
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 or Sun). What I'm curious about is why this compatibility exists in the absence of a standard C ABI? What encourages C compiler vendors to agree on implementation issues such as alignment, packing, etc., such that their object
14
2315
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 .exe (on the network drive, on the server) "Full Trust." From the client, double-click on the ..exe (on the network drive, on the server) and it runs fine. So far, so good, but... On the server, where I've installed not VB.NET but .NET
2
2121
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," and I uncheck it. Everything appears to work fine after that, however, this raises two questions in my mind. 1. Does simply unchecking the missing reference cause me to lose any functionality? I haven't noticed any yet, but that doesn't mean...
11
1981
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 graphic programes?
5
1684
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 applications which are used to design, draw, and draft the user interfaces *within* the virtual world. Note the distinction, *within* meaning not the Window where the host application runs but that which is contained within the window. This is where...
7
1846
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 library? (i. e., if I release new versions of my library, what things must I consider to allow the applications that use it, run with no recompilation? There is some idiom that helps to handle that (like the
17
2949
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
8381
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8799
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8586
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7401
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6209
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4205
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2792
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2026
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1786
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.