Solved

Missing reference

Posted on 2014-07-21
5
226 Views
Last Modified: 2014-07-21
On opening my .mdb I get Error message  "project contains a missing link to the file OCW10.DLL"

When I check the references it says Microsoft office XP Web Components is missing.

What does it mean, what effect does it have, and how do I fix it?
0
Comment
Question by:DatabaseDek
  • 2
  • 2
5 Comments
 
LVL 27

Assisted Solution

by:MacroShadow
MacroShadow earned 150 total points
ID: 40208729
If your mdb uses that reference the only option is somehow installing OCW10.DLL on your system. There is a chance though that it isn't being used in which case just remove the check mark from the missing reference.
0
 
LVL 84

Accepted Solution

by:
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 350 total points
ID: 40208736
If you're using that reference, then you must insure that your target machines have the necessary files. Unfortunately, Office Web Components are not available with newer versions of Access/Office, so you'd have to go another route.

You can determine if you need the reference like this:

1. Make a backup of your database.
2. Open the database, and open the VBA Editor
3. Click Debug - Compile. Fix any errors, and continue doing this until the menu item is disabled.
4. Click Tools - References. Remove the reference to OCW10.DLL
5. Do Step #3 again.

If you can compile the application without that reference, then you don't need it, and you can leave it out.

If you cannot compile the application in Step #5, then you're going to have to do determine where that file is being used, and create alternate methods for those needs. OWC10.dll is no longer supported.
0
 

Author Comment

by:DatabaseDek
ID: 40209326
Thank you both.

There is no direct reference to OCW10.DLL in the references window. the file that it says is missing is Microsoft office XP Web Components. I am not aware of any uses for this and when I delete it the program debugs OK. Can I assume if it debugs OK that all is OK?

It just comes up each time I create a blank database and import all tables  forms etc to create a copy. Even then the problem does not exist until I move the mdb to a new pc?
0
 
LVL 84
ID: 40209360
Yes, you're okay with it.

Not sure why it would keep coming up ...
0
 

Author Closing Comment

by:DatabaseDek
ID: 40209720
Thank you both
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you are entering numbers in a speadsheet, and don't remember what 6×7 is, you just type “=6*7" instead. It works in every cell! This is not so in Access. To enter the elusive 42 in a text box, you have to find a calculator, and then copy the re…
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question