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
creating vba object pdfxedit
Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Tracker Supp-Stefan
Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.
When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.
When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
-
- User
- Posts: 1
- Joined: Sat Mar 25, 2023 9:10 am
- Vasyl-Tracker Dev Team
- Site Admin
- Posts: 2352
- Joined: Thu Jun 30, 2005 4:11 pm
- Location: Canada
Re: creating vba object pdfxedit
Hi tranquilizer.
Firstly you need to use a prover ActiveX library:
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.
Firstly you need to use a prover ActiveX library:
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.
Vasyl Yaremyn
Tracker Software Products
Project Developer
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Tracker Software Products
Project Developer
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.