Print Page | Close Window

library not found: VBA (access)

Printed From:
Category: PDF reDirect
Forum Name: Programming
Forum Discription: VBA and Batch Tools to control PDF reDirect Pro
Printed Date: 22 Apr 24 at 1:33AM

Topic: library not found: VBA (access)
Posted By: JacksonZ
Subject: library not found: VBA (access)
Date Posted: 04 May 07 at 11:46AM
 thanks for your excellent product and work supporting the programming community.
I am trying to use the VBA sample ACCESS application.
 The ActiveX-pdf_Pro.dll and sample files are installed as should be, I am using the beta version 2.1.911 of Pdf Redirect_pro. (Running this in Access 2000.)
However i get the error  "Can't find project or library" on this line;
{  Dim oPDF As New PDF_reDirect_Pro_Tool  }
any idea what i am missing?  i also tried importing your old vb class file into the access database, doesn't seem to help, as i would expect.
p.s. i have commented out the line
{' Dim oDefaultPrinter As Printer}  as ACCESS 2000 does not have the Printer object .-  however i don't think that should matter as you also handle this backwards version issue in your routine.
thanks for any help you can give;

Posted By: Michel_K17
Date Posted: 04 May 07 at 1:08PM

   My fault. The component registration code I wrote for the installation does not work. The fix (for now) is to go into the VBA IDE, and re-establish the reference manually. Look for the references menu entry. The component might be listed in the list box, but if it is not, you should be a able to browse and select it manually.

   Clearly, this is something I will fix for the final version.


Michel Korwin-Szymanowski
EXP Systems LLC

Print Page | Close Window