Hi all.
I have a VB6 app that creates several separate Crystal Reports (V10), each of which is being written immediately to PDF files (via CR) in a loop.
I now need to concatenate the PDF files in a specific order. Some of the PDF files can contain multiple pages.
Example:
Form1Page1.pdf + Form2Page2.pdf(can be pages 1-???) + Form3Page1.pdf = ONEPdfFile.pdf that contains ALL of them one right after another.
Anybody have blocks of code that can concatenate them? I really need to do this in code, and not buy somebody elses .DLL or .OCX since I am shipping this as part of a product I am marketing.
Something like:
Dim PDFFilesToConcatenate(5)
PDFFilesToConcatenate(1) = SomePDFfile.pdf
PDFFilesToConcatenate(2) = SomeOtherPDFFile.pdf
... etc ...
NewPDFFile.pdf = ConcatenatePDFFiles(PDFFilesToConcatenate)
Code would be in Function ConcatenatePDFFiles()
???
If it was easy, everybody would do it.
I have a VB6 app that creates several separate Crystal Reports (V10), each of which is being written immediately to PDF files (via CR) in a loop.
I now need to concatenate the PDF files in a specific order. Some of the PDF files can contain multiple pages.
Example:
Form1Page1.pdf + Form2Page2.pdf(can be pages 1-???) + Form3Page1.pdf = ONEPdfFile.pdf that contains ALL of them one right after another.
Anybody have blocks of code that can concatenate them? I really need to do this in code, and not buy somebody elses .DLL or .OCX since I am shipping this as part of a product I am marketing.
Something like:
Dim PDFFilesToConcatenate(5)
PDFFilesToConcatenate(1) = SomePDFfile.pdf
PDFFilesToConcatenate(2) = SomeOtherPDFFile.pdf
... etc ...
NewPDFFile.pdf = ConcatenatePDFFiles(PDFFilesToConcatenate)
Code would be in Function ConcatenatePDFFiles()
???
If it was easy, everybody would do it.