Hi,
I will purchase very soon your " PDF Editor Toolkit Professional Version" for one Server but, I have tried your Trial version successfully for my need except for Merge which do nothing …
Do you have an exemple using "dll"
Thanks
=============================
Thanks for your message, you can call VerySplitMergePDF() function to split and merge your PDF files, please refer to the VB example of VerySplitMergePDF at below,
~~~~~~~~~~~~~~~~
Private Declare Function VerySplitMergePDF Lib "verywrite.dll" (ByVal szCommand As String) As Long
'Split or merge PDF files
szInputPDFFilename = "C:\create.pdf"
szPageRange = ",1,3"
szOutputPDFFilename = "C:\out.pdf"
'You need use (") to include the input and output filenames
szCommand = """" + szInputPDFFilename + szPageRange + """" + " " + """" + szOutputPDFFilename + """"
ret = VerySplitMergePDF(szCommand)
~~~~~~~~~~~~~~~~
The following is a VBS example which can be used to split and merge your PDF files,
~~~~~~~~~~~~~~~~
Set fso = CreateObject("Scripting.FileSystemObject")
strFolder = fso.GetParentFolderName(wscript.ScriptFullName)
Set oPDF = CreateObject("pdfshell2.shellexe")
InputPDF = strFolder & "\PowerTech.pdf"
OutputPDF = strFolder & "\output"
oPDF.com_VerySetLicenseKey("XXXXXXXXXXXXXXXXXXX")
strMergeCommand = ""
strMergeCommand = strMergeCommand & " burst "
strMergeCommand = strMergeCommand & """" & InputPDF & """ "
strMergeCommand = strMergeCommand & """" & OutputPDF & """"
MsgBox(strMergeCommand)
bresult = oPDF.com_VerySplitMergePDF(strMergeCommand)
MsgBox "com_VerySplitMergePDF() is return: " & CStr(bresult)
~~~~~~~~~~~~~~~~
If you still can't get it work, please feel free to let us know, we will prepare a purchase web page to you shortly.
I believe the solution is to use asterisks instead of commas. I found that the following does work:
Private Declare Function VerySplitMergePDF Lib “verywrite.dll” (ByVal szCommand As String) As Long
‘Split or merge PDF files
szInputPDFFilename = “C:\create.pdf”
szPageRange = “*1*3″
szOutputPDFFilename = “C:\out.pdf”
‘You need use (“) to include the input and output filenames
szCommand = “””” + szInputPDFFilename + szPageRange + “””” + ” ” + “””” + szOutputPDFFilename + “”””
ret = VerySplitMergePDF(szCommand)
Thanks for your information, yes, the latest version of VerySplitMergePDF function is support both * and , symbols, you should better use * symbol to separate filename and page range, because Windows System is not allow the * symbol included in the filename.