Add reference to itextsharp.dll in MS Access
Posted on 2009-05-14
I am hoping to programatically merge PDF files and add bookmarks using itextsharp.dll or itextdonet.dll.
The problem I'm having is that I can't even add a reference to either dll.
Can I use this dll in VBA projects or do I need to create a VB6 project create then a DLL from VB6 and reference the VB6 dll in VBA projects?
Here are the attempts I have made to use the dlls after copying the dlls to C:\windows\system32\:
1) Register the dll
Error = C:\WINDOWS\system32\itextsharp.dll was loaded, but the DllRegisterServer entry point was not found. This file can not be registered.
2) From the Access VBA window Tools/References/Browse
Chose the dll from C:\windows\system32\
Error = "Can't add a reference to the specified file"