Solved

Missing reference

Posted on 2014-07-21
5
223 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 26

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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Join & Write a Comment

The first two articles in this short series — Using a Criteria Form to Filter Records (http://www.experts-exchange.com/A_6069.html) and Building a Custom Filter (http://www.experts-exchange.com/A_6070.html) — discuss in some detail how a form can be…
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…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

758 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now