Solved

Microsoft Object Library 12 vs 11

Posted on 2009-06-30
8
602 Views
Last Modified: 2012-05-11
I have an Access database developed under Office 11. I accidentally opened the database on a PC that was under Windows XP  but had Office 12 on it. Now I have a missing reference to Microsoft Object Library 12 in the code somewhere and I get the error "Unable to load DLL"
Question,  is there any easy way that an amature can remove or replace the referece so my database is referencing Microsoft object Code 11?  Alternatively, Is it possible to add the missing object code to my system, without installing Office 2007 ? etc. ?
0
Comment
Question by:jwjjwj
  • 4
  • 3
8 Comments
 
LVL 75
ID: 24749708
Back on your Office 11 system:

1) open the vba editor
2) Tools >> References
3) Uncheck the **Missing reference
close ... and save the project.

mx
0
 
LVL 75
ID: 24749711
I had the exact same issue on a downloaded EE file from a question.  All you have to do is uncheck that reference.

mx
0
 

Author Comment

by:jwjjwj
ID: 24749905
That was the first thing I tried. Unfortunately, I then receive a vb error "can't perform requested operation", and the reference is re-ticked as missing
0
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 
LVL 75
ID: 24749922
Can you:

1) Compact & Repair (*** to shrink the size),

2) Zip up the MDB (*** to further shrink the size)

3) Attach the file for upload here (using the 'Attach File function below) ... removing any sensitive data of course.

4**** And please give a clear explanation of exactly how to reproduce the problem or what you are trying to do.

mx
0
 

Author Comment

by:jwjjwj
ID: 24750016
Thanks MX, however i'd rather not do that, the DB is abou 80Mb and full of sensitive info. I have tested on a spare PC and can work round the problem by loading office 2007 on the same machine, then the DB works fine, but that is not what I want.
I suspect the reason I get the error 'Can't perform requested operation' on un-ticking the Missing Reference to Outlook Object Library 12" is because it replaced (somehow) the genuine reference to Microsoft Object Library 11" (I can see this on an older backup copy of the DB)
0
 
LVL 75

Accepted Solution

by:
DatabaseMX (Joe Anderson - Access MVP) earned 250 total points
ID: 24750060
Well, then try setting a reference to Microsoft Object Library 11 ... close and save ... and *then* try remove the 12 reference.

And/Or ... you can try to remove the 'stuck' reference with this code:

Public Function SSF_RemoveReference() As Boolean

    Dim ref As Reference
    Set ref = References!MSForms    'specify the reference to remove - you need to get correct name
    Dim x
    References.Remove ref                       ' this line removes the specified reference
 
    'option code to list references to help get the name
     For x = 1 To References.Count
        Debug.Print References(x).Name
    Next x
       
End Function
0
 
LVL 84

Assisted Solution

by:Scott McDaniel (Microsoft Access MVP - EE MVE )
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 250 total points
ID: 24750657
Build a new, blank database on the Office 11 machine, then import everything to that new database (click File - External Data - Import).
0
 

Author Comment

by:jwjjwj
ID: 24750690
Thank you MX and LSM,  
LSM, I did try that however as soon as Imported any Forms (not sure how many as I have quite a few), and went to actually use the forms, I received the same error.

However, I think I have corrected the problem by paritially following the lines from MX.
On a 2007 machine, I installed Office 2003 and then was able to open the original database, albeit with a couple of coding errors, I ignored the coding erros and once able to successfully open the VBA Editor, I was able to successfully remove the 'missing Microsoft Object Library 12' reference. Then with this gone, I returned the DB to the Office 2003 PC's and the DB appears to be working ok.

Again thanks for your prompt assistance.
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

This article is a continuation or rather an extension from Cascading Combos (http://www.experts-exchange.com/A_5949.html) and builds on examples developed in detail there. It should be understandable alone, but I recommend reading the previous artic…
QuickBooks® has a great invoice interface that we were happy with for a while but that changed in 2001 through no fault of Intuit®. Our industry's unit names are dictated by RUS: the Rural Utilities Services division of USDA. Contracts contain un…
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…
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…

813 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

18 Experts available now in Live!

Get 1:1 Help Now