How to add reference to VB project

When we try to add ref via PDFCreator.exe from Tools>reference>
We got add error “Can’t add reference to the specified file”
We just download lasted version 3.0

Hi,

are you using VBA, VB.NET or VB6?
If you are using VBA please reference the PDFCreator.COM.tlb , for VB.NET best reference the PDFCreator.ComWrapper.dll.

Best regards,

Robin

It’s work now :slight_smile:
Thank a lot ,Robin

Do you example source code for VBA ? if we try to print to pdf via PDFCreator.

Thank you in advance ,Wee

Hi,

you can find some examples in the COM Script folder located in the PDFCreator installation path. If you have a plus or business version, unfortunately VBA will not work. We use pdftools instead of iText in our business editions, as this enables better encryption and other benefits, but unfortunately there is a weird issue in connection with pdftools and accessing PDFCreator via VBA. You can either use the current freeware or downgrade to PDFCreator 2.4.1 to work around this.

Best regards,

Robin