Or find a library or control that works in Access.
Main Topics
Browse All TopicsI 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
regsvr32 C:\WINDOWS\system32\itexts
Error = C:\WINDOWS\system32\itexts
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"
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
The DLL was written in C#. Since I have no idea what a console app in C# is I changed my perspective to solve the problem. The following code is a working prototype using web page in aspx that will be upgraded to accept dynamic file listings in future. The function combines a collection of pdf files into one pdf file and adds a bookmark (chapter) for each file that is added. It also appends the page number to the center of each page from page 2 to page n.
I successfully implemented the solution proposed by michael1174, however I have one question. Is one limited to 256 characters when calling the console app with arguments. In other words if I have a ton of fields to fill in on a given PDF, am I at all limited to the number I may pass to my console app as arguments?
Business Accounts
Answer for Membership
by: michael1174Posted on 2009-05-14 at 11:53:02ID: 24388129
It looks like this DLL was written in .NET, and can only be called from .NET. I would suggest writing a C# console app using this DLL, and then from Access call the c# console app with command line arguments.