Print Page | Close Window

library not found: VBA (access)

Printed From: www.exp-systems.com
Category: PDF reDirect
Forum Name: Programming
Forum Discription: VBA and Batch Tools to control PDF reDirect Pro
URL: http://www.exp-systems.com/Forum_exp/forum_posts.asp?TID=321
Printed Date: 22 Nov 24 at 8:29AM


Topic: library not found: VBA (access)
Posted By: JacksonZ
Subject: library not found: VBA (access)
Date Posted: 04 May 07 at 11:46AM
Hello:
 
 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;
 
jz



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

   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.

   Cheers!


-------------
Michel Korwin-Szymanowski
EXP Systems LLC



Print Page | Close Window