Results 1 to 3 of 3
  1. #1
    zkyknight is offline Novice
    Windows 10 Access 2010 64bit
    Join Date
    Jan 2019
    Posts
    7

    Automation Error: Library not registered

    Hello,

    For background, the issue resolve around a function that builds a 50+ page policy. It uses Adobe Acrobat DC to open and combine multiple PDF document objects. The function works perfectly in the beginning then starts to break after an update. We updated our Adobe Reader V11 to Adobe Reader DC. After this occurrence, I was told that all references to Adobe Reader 11 was deleted.

    Can someone point me in the right direction in fixing this issue?

    Dim AcroApp As Acrobat.CAcroApp


    Dim Part1Document As Acrobat.CAcroPDDoc

    Set Part1Document = CreateObject("AcroExch.PDDoc") 'Code Breaks here

    I am also curious as to why Adobe Reader being updated breaks the code when I am using Acrobat?

  2. #2
    CJ_London is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,941
    in the vba editor on the menu bar at the top, select tools>references. You will probably see one that is ticked and noted as 'missing'. Make a note of the name, untick it and scroll down until you find the equivalent and tick that one instead. close the reference/tools. Job done

  3. #3
    Minty is offline VIP
    Windows 10 Access 2016
    Join Date
    Sep 2017
    Location
    UK - Wiltshire
    Posts
    3,159
    Quote Originally Posted by zkyknight View Post
    I am also curious as to why Adobe Reader being updated breaks the code when I am using Acrobat?
    Adobe have made of habit of changing how you need to reference their products over the years.

    If you are old enough, before access had an option to export to pdf directly it was a nightmare, as every update forced you to change settings or code to accommodate it.
    DLookup Syntax and others http://access.mvps.org/access/general/gen0018.htm
    Please use the star below the post to say thanks if we have helped !
    ↓↓ It's down here ↓↓

Please reply to this thread with any new information or opinions.

Similar Threads

  1. 440 automation error
    By Homegrownandy in forum Programming
    Replies: 22
    Last Post: 12-17-2018, 05:06 AM
  2. Run time error - Class not registered
    By craig1988 in forum Access
    Replies: 1
    Last Post: 11-20-2018, 11:23 AM
  3. Replies: 9
    Last Post: 05-30-2014, 11:08 AM
  4. error "OLE Server isn't registered"
    By newtoAccess in forum Forms
    Replies: 1
    Last Post: 12-26-2010, 10:51 AM
  5. HyperLink error "No Program registered ..."
    By RycherX in forum Access
    Replies: 1
    Last Post: 02-09-2010, 03:36 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums