Could you please provide me with instructions (or a sample) to create a setup package from VB6 to install our "PDF2Image" application? Thank you in advance.
Regards,
====================================
Please refer to following VB sample code,
Private Sub Command1_Click()
Dim pagecount As Long
Dim strPDFFileName As String
Dim strTIFFFileName As String
Dim strMessage As String
strPDFFileName = "example1.pdf"
strTIFFFileName = "example1_out.jpg"
' Register PDF to Image Converter Library
PDFToImageSetCode "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
pagecount = PDFToImageGetPageCount(strPDFFileName)
strMessage = strPDFFileName + " PageCount: "
strMessage = strMessage + Str(pagecount)
MsgBox strMessage
result = PDFToImageConverter(strPDFFileName, strTIFFFileName, "", "", 200, 200, 24, COMPRESSION_PACKBITS, 70, False, True, -1, -1)
result = PDFToImageConverter2(strPDFFileName, strTIFFFileName + "_2.tif", "", "", 200, 200, 1, COMPRESSION_PACKBITS, 70, False, True, -1, -1)
End Sub
You can also refer to entire VB example in the “example_vb” folder, if you have any question for this VB project, please feel free to let us know.
====================================
Thanks for that answer but it wasn't what I expected. What I need to know is how to create a "Setup Package" that includes the "pdf2image.dll" file as part of the "CAB" files. VB6 provides you with a "Package & Deployment wizard" that allows you to include all the ActiveX components of an application. Must probably you have a example or the list of files that should be included in that "distribution package".
Thanks
====================================
Thanks for your message, we haven’t a tool to include PDF2Image.dll into a .cab package, we suggest you may search “cab creator” or “cab maker” in google, you will able to find some tools to create the CAB files.
====================================
Could you please remind me how it is the installation of the PDF2image zip file in the server?
I'm struggling here with a zip file I downloaded from the website (https://www.verypdf.com/pdf2tif/pdf2image_sdk_trial.zip). The only thing I get is the "pdf2image.dll" (along with all the package). When I copy the file to my server and execute my application, the "pdf2image.dll" file it is not where to found. My VB6 app complains for the file and basically cannot find it. Is it something that I have to specify on the source code line or maybe have to register the .dll file myself? Please advise.
====================================
You can simple copy pdf2image.dll and dependent files to system32 folder or syswow64 folder, then you can call pdf2image.dll from your code to covert PDF files to image files easily.
You can copy pdf2image.dll and depend files to system32 folder or syswow64 folder, then you can call pdf2image.dll from your code to covert PDF files to image files properly.
You can also compile your VB code to EXE first, put this exe to the folder where pdf2image.dll exist, then your EXE can call pdf2image.dll correctly.
====================================
Good morning.
We're trying to get an affordable pdf viewer ActiveX (with capabilities to zoom, print and save pdf files) and was wondering if your company have one available. It is going to be used on our application server (one).
====================================
Please download PDF Viewer OCX Control from following page to try, this product can be used to view PDF files,
http://www.verydoc.com/pdf-viewer-ocx.html
PDF Viewer OCX Control hasn't print and save PDF functions, if you wish print the PDF files, you can download PDFPrint Command Line product from following page to try,
https://www.verypdf.com/pdfprint/index.html
for the Save PDF file function, do you wish modify the PDF file's contents and save to a new PDF file?
You can also download VeryPDF PDF Editor&Viewer OCX Control v2.6 from following page to try, this product can view, print and save PDF files,
https://www.verypdf.com/pdf-editor/index.html
VeryPDF
====================================
Related Posts
Related posts:
PDF To Image Converter COM Developer License
PDF to image SDK is thread-safe
Is VeryPDF PDF to Image SDK support a PDF file which contain more than 700 pages?
How could we get a grayscale gif through converting pdf to gif?
Pragmatically convert PDF images to 8 bit
Is there an API for converting PDF to Image and image to PDF?
Convert color PDF Pages to Black and White TIFF files with/without halftone or dithering. How to cha...
VeryPDF Document Reader & VeryPDF Document Viewer