Solved

Missing reference

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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

In the previous article, Using a Critera Form to Filter Records (http://www.experts-exchange.com/A_6069.html), the form was basically a data container storing user input, which queries and other database objects could read. The form had to remain op…
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
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…
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…

867 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

13 Experts available now in Live!

Get 1:1 Help Now