473,657 Members | 2,421 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

missing references

Hello.

I prepared a .mde file using Access 2003.
When I tried to use it on a computer with Access 2002 installed, it didn't
work, because some references were missing (lower versions). Therefore I had
to manually adjust references to lower versions, first in .mdb and then
create new .mde file on the client computer. Although it solved the problem
in this case, it is obviously not the best solution, because I can't be
phisically present on every client...
My question is the following: How could I be sure that client computer has
all neccessary references, despite which Access version is installed. Is
there any downloadable file with most recent VBA that could be incorporated
in my installation along with .mde file?
By the way, I bought a program called MDE2000 (RV Software) that can produce
Access 2000 compatible .mde file by using Access 2003. It is great thing,
but useless if client computer with MS Office 2000 doesn't have all
references as my Access 2003....
How to solve this ?
Thanks,

Zlatko
Nov 13 '05 #1
4 2809
use late binding instead of early binding and then your code should be
less susceptible to problems with installed versions. It may mean you
have to either check for version information in your code or use the
sort of least common denominator when writing your code.

Nov 13 '05 #2
I was reading about late binding in meantime, but I'm not completely sure
what is to be done in order to adjust code to lata binding...
For example, I'm not sure if this is correct:

early binding:
Dim ws As DAO.Workspace

Dim db As DAO.Database

Dim qdf As DAO.QueryDef

Dim rs As DAO.Recordset


late binding:

Dim ws as Object

Set ws =CreateObject(" DAO.Workspace")

Dim ws as Object

Set db =CreateObject(" DAO.Database")

Dim qdf as Object

Set qdf =CreateObject(" DAO.QueryDef")

Dim rs as Object

Set rs =CreateObject(" DAO.Recordset")
VBA help says that class argument inside Create object function has to be in
appname.objectt ype format. Does it means that DAO should be preceded by
Access, so the previous code should be like this:

Dim ws as Object

Set ws =CreateObject(" Access.DAO.Work space")

Dim ws as Object

Set db =CreateObject(" Access.DAO.Data base")

Dim qdf as Object

Set qdf =CreateObject(" Access.DAO.Quer yDef")

Dim rs as Object

Set rs =CreateObject(" Access.DAO.Reco rdset")

?

What exactly I need to change in my code in order to support "late binding"
?
All examples given in VBA help and internet are concerning late binding in
case of calling other Office aplication from Access, but I couldn't find
examples of late binding inside Access itself...so I'm little bit confused.
Is there any Add-in or program, that can change early binding declarations
to late binding declarations through all modules automaticcally ?
Zlatko

<pi********@hot mail.com> je napisao u poruci interesnoj
grupi:11******* *************** @g47g2000cwa.go oglegroups.com. ..
use late binding instead of early binding and then your code should be
less susceptible to problems with installed versions. It may mean you
have to either check for version information in your code or use the
sort of least common denominator when writing your code.
<pi********@hot mail.com> je napisao u poruci interesnoj
grupi:11******* *************** @g47g2000cwa.go oglegroups.com. .. use late binding instead of early binding and then your code should be
less susceptible to problems with installed versions. It may mean you
have to either check for version information in your code or use the
sort of least common denominator when writing your code.

Nov 13 '05 #3
I was reading about late binding in meantime, but I'm not completely sure
what is to be done in order to adjust code to lata binding...
For example, I'm not sure if this is correct:

early binding:

Dim ws As DAO.Workspace
Dim db As DAO.Database
Dim qdf As DAO.QueryDef
Dim rs As DAO.Recordset
late binding:
Dim ws as Object
Set ws =CreateObject(" DAO.Workspace")
Dim ws as Object
Set db =CreateObject(" DAO.Database")
Dim qdf as Object
Set qdf =CreateObject(" DAO.QueryDef")
Dim rs as Object
Set rs =CreateObject(" DAO.Recordset")

VBA help says that class argument inside Create object function has to be in
appname.objectt ype format. Does it means that DAO should be preceded by
Access, so the previous code should be like this:

Dim ws as Object
Set ws =CreateObject(" Access.DAO.Work space")
Dim ws as Object
Set db =CreateObject(" Access.DAO.Data base")
Dim qdf as Object
Set qdf =CreateObject(" Access.DAO.Quer yDef")
Dim rs as Object
Set rs =CreateObject(" Access.DAO.Reco rdset")
?
What exactly I need to change in my code in order to support "late binding"
?
All examples given in VBA help and internet are concerning late binding in
case of calling other Office aplication from Access, but I couldn't find
examples of late binding inside Access itself...so I'm little bit confused.
Is there any Add-in or program, that can change early binding declarations
to late binding declarations through all modules automaticcally ?
Zlatko
Nov 13 '05 #4
I was reading about late binding in meantime, but I'm not completely sure
what is to be done in order to adjust code to lata binding...
For example, I'm not sure if this is correct:

early binding:

Dim ws As DAO.Workspace
Dim db As DAO.Database
Dim qdf As DAO.QueryDef
Dim rs As DAO.Recordset
late binding:
Dim ws as Object
Set ws =CreateObject(" DAO.Workspace")
Dim ws as Object
Set db =CreateObject(" DAO.Database")
Dim qdf as Object
Set qdf =CreateObject(" DAO.QueryDef")
Dim rs as Object
Set rs =CreateObject(" DAO.Recordset")

VBA help says that class argument inside Create object function has to be in
appname.objectt ype format. Does it means that DAO should be preceded by
Access, so the previous code should be like this:

Dim ws as Object
Set ws =CreateObject(" Access.DAO.Work space")
Dim ws as Object
Set db =CreateObject(" Access.DAO.Data base")
Dim qdf as Object
Set qdf =CreateObject(" Access.DAO.Quer yDef")
Dim rs as Object
Set rs =CreateObject(" Access.DAO.Reco rdset")
?
What exactly I need to change in my code in order to support "late binding"
?
All examples given in VBA help and internet are concerning late binding in
case of calling other Office aplication from Access, but I couldn't find
examples of late binding inside Access itself...so I'm little bit confused.
Is there any Add-in or program, that can change early binding declarations
to late binding declarations through all modules automaticcally ?
Zlatko
"Zlatko Matić" <zl***********@ sb.t-com.hr> je napisao u poruci interesnoj
grupi:dd******* ***@ss405.t-com.hr...
Hello.

I prepared a .mde file using Access 2003.
When I tried to use it on a computer with Access 2002 installed, it didn't
work, because some references were missing (lower versions). Therefore I
had to manually adjust references to lower versions, first in .mdb and
then create new .mde file on the client computer. Although it solved the
problem in this case, it is obviously not the best solution, because I
can't be phisically present on every client...
My question is the following: How could I be sure that client computer has
all neccessary references, despite which Access version is installed. Is
there any downloadable file with most recent VBA that could be
incorporated in my installation along with .mde file?
By the way, I bought a program called MDE2000 (RV Software) that can
produce Access 2000 compatible .mde file by using Access 2003. It is great
thing, but useless if client computer with MS Office 2000 doesn't have all
references as my Access 2003....
How to solve this ?
Thanks,

Zlatko

Nov 13 '05 #5

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

Similar topics

6
3331
by: Ed | last post by:
I first noticed this in my own app. Images would show up missing randomly on IE 6.0.2800.1106 on Windows 2000 server. I then was able to repro this problem on Microsoft's website!!! The page I used was http://www.microsoft.com/windows/ie/downloads/critical/ie6sp1/default.asp After pressing to refresh the page six times, I noticed missing images on the page. This problem seems to be very reproducible. I coded a sample ASP page...
10
1831
by: Bugs | last post by:
Hi I have distributed an mdb file that works fine on my PC using Access 2003, but when a copy I sent to someone running Access2003 he gets the error message "missing the intranet or the website". This is driving me nuts. Could anyone please shed some light on what is causing this and any possible fixes. Very much appreciated.
3
5031
by: S. van Beek | last post by:
Dear reader, I still have a problem with my reference libraries. In my frond end application a check procedure for missing references is available. The problem I confronted with is that in case there is a missing reference
2
22265
by: S. van Beek | last post by:
Dear reader, For removing a reference in the VBA reference form I receive from Doug Steele the following code: ........... References.Remove refCurr
0
1181
by: A.Black | last post by:
Hi, Trying to create a simple application in C# that requires access to Outlooks mail folders. Have downloaded sample code and that works fine however when I try to create my own project & code I get the following error message. 'The type or namespace name 'MAPIFolder' does not exist in the class or namespace 'eTask.Outlook' (are you missing an assembly reference?)' Plus a few other errors relating to missing references.
6
1488
by: Just Me | last post by:
My Task List contains the following: At least one reference is missing the 'Name' attribute. Any suggestion on how toe find which project is missing it? Solution contains 25 projects. Thanks
1
2964
by: Ulrich Wisser | last post by:
Hi, after seeing some mysterious messages about missing from clauses I did turn on query logging. Unfortunately am I now more confused then before. Aug 25 09:22:38 balder postgres: LOG: query: SELECT * FROM LOGIN Aug 25 09:22:38 balder postgres: where USERNAME='ulrich' Aug 25 09:22:47 balder postgres: NOTICE: Adding missing
2
2119
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...
3
2738
by: NEWSGROUPS | last post by:
I am in the midst of trying to convert about 25 Access 2000 to Access 2003. The new environment consists of Office/Access 2003 and Outlook 2003. When converting the back ends I have no problems. When converting the front ends I get the following issues and error. If I try to import all the objects into a blank Access 2003 shell I get a missing reference error for Outlook 2000, Excel 2000, and Word 2000 or after importing all the objects...
0
8399
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8312
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
8827
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
7337
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...
0
5632
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4159
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
2732
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
1959
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1622
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.