473,890 Members | 1,716 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 2141
"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
1811
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 owns it. When in that function of class B, I don't know how I can gain access to it's
3
1240
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 always working out. Any thoughts? d
10
1858
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
5050
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
22304
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
1970
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
1549
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
11318
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 = AppExcel.Workbooks.Open( m_FilePath, Missing.Value, true, Missing.Value, Missing.Value,
75
5511
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 obstacles to C++ language acquisition, and what aspects of the language make it less appealing than...
0
11215
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
10802
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
10908
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
9618
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
8008
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
6035
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4665
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
4259
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3267
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.