This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Tuesday, October 9, 2007 11:28:57 PM(UTC)
Groups: Registered
Posts: 21
Hi,
When I try to load a pdf file from leadmain OCX, an error "20729" pop up.
But I can save an image to pdf format via the OCX!
I have the PDF unlock key. Is there anything wrong?
Rdgs,
rick
#2
Posted
:
Wednesday, October 10, 2007 7:12:38 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
All of the error codes are documented in the help file under Quick Referene->Error Codes->Error Codes. You are getting this error because you are not setting the PDFInitDir property of the LEADRasterIO object or you are setting it incorrectly. Set this variable to the proper path to where you installed the PDF runtime.
#3
Posted
:
Wednesday, October 10, 2007 3:14:16 PM(UTC)
Groups: Registered
Posts: 21
I'm using leadtools v13. But I can not find "PDFInitDir" property in list of LeadRasterIo.
I just copy PdfDll32.dll to system folder. Would you please give me some advice?
Thanks
#4
Posted
:
Thursday, October 11, 2007 1:32:03 AM(UTC)
Groups: Registered
Posts: 21
I find that I can load pdf file when I run demo exe file "VBDEMO32.exe", while I can not load the same pdf file when I use VB Demo project (C:\Program Files\LEAD Technologies, Inc\LEADTOOLS\Examples\OCX\VB\DEMO32). The error code is still 20729.I'v unlocked the pdf function. Why?
#5
Posted
:
Thursday, October 11, 2007 4:55:39 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
If you installed LEADTOOLS v13 to the default directory then you under this directory in the register:
HKEY_LOCAL_MACHINE\SOFTWARE\LEAD Technologies, Inc.\Pdf
you should have a key named "GS_LIB" with the following value:
C:\Program Files\LEAD Technologies, Inc.\LEADTOOLS\REDIST\PDF\LIB;C:\Program Files\LEAD Technologies, Inc.\LEADTOOLS\REDIST\PDF\FONTS;C:\Program Files\LEAD Technologies, Inc.\LEADTOOLS\REDIST\PDF\RESOURCE
If you did not install to the default directoy, then replace "C:\Program Files\LEAD Technologies, Inc.\LEADTOOLS" with the path to the install directory. If this does not work, have you installed any other version of our toolkit?
#6
Posted
:
Thursday, October 11, 2007 5:56:28 PM(UTC)
Groups: Registered
Posts: 21
Hi,
Thank you very much for your tips! I downloaded the patch but only replace the dll files under system folder while I forgot replace the "redist" directory where the register point to.
Thanks a lot
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.