473,549 Members | 2,627 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Quick Question about Missing References

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 it
hasn't left an error waiting to happen.

2. If I create an MDE file from my database, (which if I am not
mistaken removes access to the code), will I still get the missing
reference errors?
Thanks,
Jody Blau

Mar 2 '06 #1
2 2114
"jodyblau" <jo******@gmail .com> wrote in message
news:11******** **************@ j33g2000cwa.goo glegroups.com.. .
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 it
hasn't left an error waiting to happen.

2. If I create an MDE file from my database, (which if I am not
mistaken removes access to the code), will I still get the missing
reference errors?
Thanks,
Jody Blau


Which references are coming up as missing? Do you know for sure whether
they are needed or not? My general policy is to use as few references as
possible. If I am going to hand the application over, I always choose late
binding over early binding so for example if I write code to automate
writing Word documents, my code will be:
Dim wdDoc As Object (rather than As Word.Document)
in this way, I can remove the reference to Microsoft Word and I no longer
need to worry if my customer changes his/her version of Word.
Before you hand anything over, you should make sure it compiles. If you are
providing an mde, then you will have to be able to compile the mdb first.
Remove all but the essential references and make sure it compiles (this
might only be 3 references).


Mar 2 '06 #2
1) You should remove the reference and recompile. If Access doesn't choke
at that point then you don't need the reference.

2) Yes. Compiling into an MDE does nothing to fix missing reference
problems.

Because of the strange way in which Access handles references you should:-
keep the number of references down to a minimum
ensure you distribute any non-builtin referenced files (and there
supporting files)
check in code that your references are valid when starting

You may see reccomendations to use late binding, this is not a fix for
missing references, it merely obscures the fact that you have a references
problem and can just hide potential bugs in your code.

There are occassions where using late binding is required, the notable ones
are when automating Microsoft applications due to the (often stupid) choices
made by Microsoft development over the years regarding maintaining
compatibility.
--

Terry Kreft
"jodyblau" <jo******@gmail .com> wrote in message
news:11******** **************@ j33g2000cwa.goo glegroups.com.. .
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 it
hasn't left an error waiting to happen.

2. If I create an MDE file from my database, (which if I am not
mistaken removes access to the code), will I still get the missing
reference errors?
Thanks,
Jody Blau

Mar 3 '06 #3

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

Similar topics

7
1797
by: Eternally | last post by:
Ok, this may sound confusing....but it's really simple. If you're confused, just look at my example code and it'll make sense. Here's my situation. I have 2 classes....A and B. Class A has a member variable of type B. Class B has a member function which does calculations which are dependent upon values of members of the Class A that...
3
1226
by: deancoo | last post by:
If I have a container, say a vector, with 5 elements, and I initialize iterator variables to point to the beginning and end of the container, are those iterators going to always be valid if I replace the elements of the container? The size stays the same. It seems to be working now, but I thought I read somewhere something about this not...
10
1820
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
5020
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
22224
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
30
1902
by: Christopher Benson-Manica | last post by:
Given the following: char s="Hello, world\n!"; Are all the following guaranteed to produce the same output? printf( "%s", s ); fprintf( stdout, "%s", s ); fwrite( s, sizeof(char), sizeof(s)/sizeof(char) - 1, stdout );
11
1525
by: Dmitry | last post by:
Hi there, Just came across this problem and was wondering if someone can shed a light on it as it somewhat puzzles me. Suppose I have the following classes: Public Class CTest Private m_objCMember As CMember Public Function addMember(ByVal objMember As CMember) m_objCMember = objMember
2
11304
by: martin-g | last post by:
Hi. When the user opens the Excel file, which is at the same time used by my application, it stops calculations and throws an exception with such information: "The object invoked has disconnected from its clients". What can I do to resolve this? My application opens the source excel file using this statement: oRatelistWbk =...
75
5395
by: Steven T. Hatton | last post by:
No, this is not a troll, and I am not promoting Java, C-flat, D, APL, Bash, Mathematica, SML, or LISP. A college teacher recently posted to this newsgroup regarding her observation that there has been a significant decline in the number of students opting to take courses in C++. I just want to let people know what I believe are the biggest...
0
7451
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...
0
7720
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. ...
0
7959
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...
1
7473
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...
0
7810
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6044
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...
1
5369
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...
0
3501
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...
0
764
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...

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.