473,406 Members | 2,467 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.

References problem - new variant

I am familiar with the issue of missing references but I have a
situation that is new to me.

I have a split fe/be system. A copy of the fe is on the server which
is then copied to each user's PC using AutoFE. This has worked well
for some years. However on one PC when the fe is copied to that PC,
it fails to compile with the usual message:
"Can't find project or library". When I open the References window
NONE are marked as Missing. If I click OK (but not Cancel) and then
Compile everything works OK.

Clearly all the references are correct and the required files exist in
the right place. It would seem that simply opening the References
window and then closing it enables the program to find them
correctly. I cannot expect the user to do this every time I issue a
new version of the fe.

On other PCs with the same version of Access and the same files,
everything works correctly.

Has anyone come across this problem? If so, any advice would be
welcome.

Please do not suggest late binding and removing references.

Jim
Jan 17 '08 #1
3 1522
Jim, I suspect that there is an issue with one of the libraries on that
machine.

Sometimes no libraries show as missing.
But you can solve the problem with:
1. Remove the reference in the database.
2. Unregister the library (with regsvr32 -u).
3. Register it again.
4. Open the database and add the reference again.

If you're not sure how to do that, see:
http://allenbrowne.com/ser-38.html

If that's not the issue, what version of Access, what service pack, and what
version of Windows? Particularly the virtualization of folders under Vista
can be problematic under different users.

--
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.

"Jim Devenish" <in***************@foobox.comwrote in message
news:e1**********************************@c23g2000 hsa.googlegroups.com...
>I am familiar with the issue of missing references but I have a
situation that is new to me.

I have a split fe/be system. A copy of the fe is on the server which
is then copied to each user's PC using AutoFE. This has worked well
for some years. However on one PC when the fe is copied to that PC,
it fails to compile with the usual message:
"Can't find project or library". When I open the References window
NONE are marked as Missing. If I click OK (but not Cancel) and then
Compile everything works OK.

Clearly all the references are correct and the required files exist in
the right place. It would seem that simply opening the References
window and then closing it enables the program to find them
correctly. I cannot expect the user to do this every time I issue a
new version of the fe.

On other PCs with the same version of Access and the same files,
everything works correctly.

Has anyone come across this problem? If so, any advice would be
welcome.

Please do not suggest late binding and removing references.

Jim
Jan 17 '08 #2
On Jan 17, 11:24*am, "Allen Browne" <AllenBro...@SeeSig.Invalid>
wrote:
Jim, I suspect that there is an issue with one of the libraries on that
machine.

Sometimes no libraries show as missing.
But you can solve the problem with:
1. Remove the reference in the database.
2. Unregister the library (with regsvr32 -u).
3. Register it again.
4. Open the database and add the reference again.

If you're not sure how to do that, see:
* *http://allenbrowne.com/ser-38.html

If that's not the issue, what version of Access, what service pack, and what
version of Windows? Particularly the virtualization of folders under Vista
can be problematic under different users.

--
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.

"Jim Devenish" <internet.shopp...@foobox.comwrote in message

news:e1**********************************@c23g2000 hsa.googlegroups.com...
I am familiar with the issue of missing references but I have a
situation that is new to me.
I have a split fe/be system. *A copy of the fe is on the server which
is then copied to each user's PC using AutoFE. *This has worked well
for some years. *However on one PC when the fe is copied to that PC,
it fails to compile with the usual message:
"Can't find project or library". *When I open the References window
NONE are marked as Missing. *If I click OK (but not Cancel) and then
Compile everything works OK.
Clearly all the references are correct and the required files exist in
the right place. *It would seem that simply opening the References
window and then closing it enables the program to find them
correctly. *I cannot expect the user to do this every time I issue a
new version of the fe.
On other PCs with the same version of Access and the same files,
everything works correctly.
Has anyone come across this problem? *If so, any advice would be
welcome.
Please do not suggest late binding and removing references.
Jim
Thank you Allen. That offers some promise. I will give it try.

Jim

Jan 17 '08 #3
I've heard of this when the office files were located in a
different location.

(david)

"Jim Devenish" <in***************@foobox.comwrote in message
news:e1**********************************@c23g2000 hsa.googlegroups.com...
>I am familiar with the issue of missing references but I have a
situation that is new to me.

I have a split fe/be system. A copy of the fe is on the server which
is then copied to each user's PC using AutoFE. This has worked well
for some years. However on one PC when the fe is copied to that PC,
it fails to compile with the usual message:
"Can't find project or library". When I open the References window
NONE are marked as Missing. If I click OK (but not Cancel) and then
Compile everything works OK.

Clearly all the references are correct and the required files exist in
the right place. It would seem that simply opening the References
window and then closing it enables the program to find them
correctly. I cannot expect the user to do this every time I issue a
new version of the fe.

On other PCs with the same version of Access and the same files,
everything works correctly.

Has anyone come across this problem? If so, any advice would be
welcome.

Please do not suggest late binding and removing references.

Jim

Jan 18 '08 #4

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

Similar topics

5
by: Matt Smith | last post by:
Hi, all. Just a quick question, when setting a COM process to read a value from a pre-defined register index, I think, I have to change the variable that the value will be returned to (as I have...
0
by: Matt Smith | last post by:
Hi, all. Just a quick question, when setting a COM process to read a value from a pre-defined register index, I think, I have to change the variable that the value will be returned to (as I have...
6
by: Stephen Cook | last post by:
Having worked through the problems around enabling the document function using an XmlUrlResolver I started work on building a useful class to hide the intricacies. Trying to generalise the process...
25
by: Steve Jorgensen | last post by:
Yup, Steve's full of tips, but hey, it makes him feel important, right? Ok, here goes. I've been trying to improve encapsulation by putting code in the same object as the stuff it affects, so I...
8
by: MLH | last post by:
A97 HELP shows the proper syntax for using Nz as Nz(variant) I'm wondering what to expect from potential past misuse I've made. For example, consider the following... Private Sub...
12
by: Mars | last post by:
I searched and found quite many, but (nearly) all are about C++....... Any recommendation for such reference for pure C???? Thx~~~~ Mars.
19
by: Jon Davis | last post by:
Hi guys! Just wanted to let you all know that I created a Variant structure, inspired by the old VB6 days. This is written in C#, but you can build a CLR/.NET class library assembly and reference...
1
by: morten | last post by:
When i compile this code in VC71 or VC80 i get the following errors: The code is copy/paste from the boost.org tutorial. Please help! error C2039: 'begin' : is not a member of...
4
by: jainchar | last post by:
hello I am creating a VARIANT that stores a integer value of variable but variable is not initialize.In my code the variable are "r" and"c" where r and c are the value of row and column of a table.I...
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:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
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
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...
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,...

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.