How to convert a PCX file to PDF file using PDF Editor Toolkit Pro SDK?

Product name: PDF Editor Toolkit Pro SDK
Version number: VERYWRITE.DLL 2.1.0.1
OS: Windows 7 64bit
Issue: Having problem when add attached image file to PDF file. See attached image file.

Problem appears to be in VeryAddImage and VeryGetFunction function.

Call VeryAddImage function to add image to a new PDF file or call VeryGetFunction to get page count. The function returns ok with correct pdf file or correct page counts but prompt two error messages on the screen. How can we turn off the error messages?
Any help with this would be appreciated.

Thanks,
Software developer
--------------------------------------------
Please download the latest version of " PDF Editor Toolkit Pro SDK" from following URL,

http://www.verypdf.com/app/pdf-editor-toolkit/index.html
http://www.verypdf.com/pdfsdk/pdf_editor_toolkit_std_trial.zip

after you download and unzip it to a folder, please by following steps to test it,

1. Please run "Install-pdfshell.exe-Com.vbs" to register pdfshell.exe into your system first,

2. Please use following VBScript code to convert your PCX file to PDF file,

Set fso = CreateObject("Scripting.FileSystemObject")
strFolder = fso.GetParentFolderName(wscript.ScriptFullName)
FilePath = strFolder & "\"

strInImageFile = "D:\downloads\E00000g.00k.pcx"
strPDFFileName = "D:\downloads\_VeryPDF-out.pdf"

Set oPDF = CreateObject("pdfshell2.shellExe")
oPDF.com_VerySetLicenseKey("XXXXXXXXXXXXXXXXXXXXX")
FileID = oPDF.com_VeryCreate(strPDFFileName)
oPDF.com_VeryAddImage FileID, strInImageFile
oPDF.com_VeryClose FileID

MsgBox "Create '" + strPDFFileName + "' file successful."

3. OK, you will get a PDF file correctly with above VBScript code.

image

image

VeryPDF

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Related Posts

This entry was posted in PDF Editor Toolkit and tagged . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!