Page 1 of 1
creating vba object pdfxedit
Posted: Sat Mar 25, 2023 9:17 am
by tranquilizer
encountering in error creating in the following line on creating object in vba
Set objEditor = CreateObject("PDFXEdit.PDFXEditCtrl)
Have "PDF-Xchange OfficeAddid Type Library" in Tools > References
PDF Xchange Editor version 9.5
image(1).png
Re: creating vba object pdfxedit
Posted: Wed Mar 29, 2023 4:28 am
by Vasyl - PDF-XChange
Hi tranquilizer.
Firstly you need to use a prover ActiveX library:
image.png
To be able to use it you need to be sure you have installed that library in your system. At least you need to run on the target system the following commands
regsvr32 PDFXEditCore.x86.dll
(for 32-bit applications)
regsvr32 PDFXEditCore.x64.dll
(for 64-bit applications)
- typically you need to call it with the admin rights during the installation process. For more details look here:
https://sdkhelp.pdf-xchange.com/vi ... stribution.
Also seems you used the wrong progid to get access to the PDFXChange Editor API. The correct is:
"PDFXEdit.PXV_Inst" - this is the ActiveX object to get access to the pdf-manipulation API
(
https://sdkhelp.pdf-xchange.com/view/PXV:PXC_Inst)
"PDFXEdit.PXV_Control" - the UI component, classic ActiveX Control to view and edit pdfs by the end user
(
https://sdkhelp.pdf-xchange.com/vi ... XV_Control).
And here are some examples:
https://github.com/tracker-software/PDF ... DKExamples
HTH.
Re: creating vba object pdfxedit
Posted: Sun Jul 14, 2024 1:28 pm
by amandasw
Thank you
creating vba object pdfxedit
Posted: Mon Jul 15, 2024 9:15 am
by Stefan - PDF-XChange