473,396 Members | 2,076 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,396 software developers and data experts.

Compile error: Can't find catalog - But the reference isn't missing!


Hi All,
I have several users who are getting a compile error "Can't find project
or library when the code hits
Dim cat as ADOX.Catalog

In the references dialog box it show the msadox.dll as missing BUT it's
in it's folder right where it belongs. I'v tried decompiling the
database using the switch to no avail. The database runs fine on my
machine. No one had any problems with it yesterday and nothing has
changed.

I could really use a suggestion!
Thanks,
Kathy
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 12 '05 #1
2 2282
You will find a good description here on handling reference problems. If you
create a new database does this reference still show Missing? If not, then
try to import everything into the new file. If it does, you may need to try
registering the dll. To do that, open a command prompt window and type

regsvr32 "path\file.dll"

http://members.iinet.net.au/~allenbrowne/ser-38.html

--
Wayne Morgan
Microsoft Access MVP
"Kathy" <Kathy.merecat.com> wrote in message
news:40***********************@news.frii.net...

Hi All,
I have several users who are getting a compile error "Can't find project
or library when the code hits
Dim cat as ADOX.Catalog

In the references dialog box it show the msadox.dll as missing BUT it's
in it's folder right where it belongs. I'v tried decompiling the
database using the switch to no avail. The database runs fine on my
machine. No one had any problems with it yesterday and nothing has
changed.

I could really use a suggestion!
Thanks,
Kathy
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 12 '05 #2
If the files in place then it probably isn't registered.

Use regsvr32 to register the dll using the following format

regsvr32 "C:\Program Files\Common Files\System\ado\msadox.dll"

Obvously you may need to change the path to msadox.dll and you may have to
put the full path to regsvr32.

Terry
"Kathy" <Kathy.merecat.com> wrote in message
news:40***********************@news.frii.net...

Hi All,
I have several users who are getting a compile error "Can't find project
or library when the code hits
Dim cat as ADOX.Catalog

In the references dialog box it show the msadox.dll as missing BUT it's
in it's folder right where it belongs. I'v tried decompiling the
database using the switch to no avail. The database runs fine on my
machine. No one had any problems with it yesterday and nothing has
changed.

I could really use a suggestion!
Thanks,
Kathy
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 12 '05 #3

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

Similar topics

2
by: d2d | last post by:
How are you doing there folks? I just have this newbie question about how to compile an NUnit test file from command line using "csc.exe" I installed NUnit 2.1 using *.msi file. I was...
0
by: ufnuceda | last post by:
Hello everyone, I was wondering if any of you have some experience with the boost library. I am having trouble compiling code with it. Since boost is being used a lot these days I thought some...
1
by: electrixnow | last post by:
Help!, I need to compile this code with static libs so it run on another XP machine that does'nt have MS Studio installed. When I compile now I get an ERROR: 1>------ Rebuild All started:...
7
by: QiongZ | last post by:
Hi, I just recently started studying C++ and basically copied an example in the textbook into VS2008, but it doesn't compile. I tried to modify the code by eliminating all the templates then it...
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
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
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...
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
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,...
0
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...

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.