Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!
ActiveX Error on DebenuPDFLibraryLite1114 |
Post Reply |
Author | |
Marcus74
Beginner Joined: 02 Jun 23 Status: Offline Points: 3 |
Post Options
Thanks(0)
Posted: 02 Jun 23 at 7:46PM |
Hi All,
I hope someone can help me or give an advise. I register as a administrator the DLL DebenuPDFLibraryLite1114.dll with regsvr32 successfully but when run the sample vbs script like "hello-world.vbs" i got following error message back: ..\hello-world.vbs(13, 1) Microsoft VBScript runtime error: ActiveX component can't create object: 'DebenuPDFLibraryLite1114.PDFLibrary' The system is windows Server 2016 and 2019. Any ideas ?! Thanks for helping ! Best regards, Marcus |
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3527 |
Post Options
Thanks(0)
|
Hi Marcus :)
Here are two links... Perhaps it could help or give you an idea: Cheers and welcome here, Ingo http://www.quickpdf.org/forum/need-help-using-pdflibrary-class_topic3643_post14497.html?KW=DebenuPDFLibraryLite+Register#14497 http://www.quickpdf.org/forum/vbscript-loadfromfile-do-nothing_topic3919_post15738.html?KW=DebenuPDFLibraryLite+create+object#15738 |
|
Cheers,
Ingo |
|
Marcus74
Beginner Joined: 02 Jun 23 Status: Offline Points: 3 |
Post Options
Thanks(0)
|
Hi Ingo :)
thanks for your reply and the 2 links - unfortunately the links were not very helpful. I have no idea why the vbs samples are not working. Best regards, Marcus
|
|
tfrost
Senior Member Joined: 06 Sep 10 Location: UK Status: Offline Points: 437 |
Post Options
Thanks(0)
|
One possible solution would be to run Process Monitor (PROCMON) from SysInternals.com, and filter on the string PDFLibrary. This will show you every attempt to read a file or registry entry containing this name, where it was looking for it, and the precise reason why it failed when it does. However (a) I have never used VB and know very little about it; and (b) if you are not familiar with PROCMON it can take time to learn, and if you have not mastered it you will see vast amounts of irrelevant output. So please feel free to ignore this suggestion if you wish! But if you are familiar with using PROCMON it might provide just a hint of why the attempt to access the library fails.
|
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3527 |
Post Options
Thanks(0)
|
Perhaps the directory of the dll is the problem...
or the path (with less rights) where you wanna do the creation... or the pdf-file you wanna load has limited access rights? In the past i had similar probs with a dll and ms office files using vba. Perhaps with vbs it's similar? If you're using vba (from ms access or excel for example) you should declare the functions as private and not public. If you're using vba (from ms access or excel for example) the dll should be: in the system32-path (32-bit-dll on 32-bit-system), in the syswow64-path (32-bit-dll on 64-bit-system) or in the system32-path (64-bit-dll on 64-bit-system). Edited by Ingo - 08 Jun 23 at 9:40PM |
|
Cheers,
Ingo |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store