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.
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
pagecount = PDFToImageGetPageCount(strPDFFileName)
strMessage = strPDFFileName + " PageCount: "
strMessage = strMessage + Str(pagecount)
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)
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 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 (http://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.
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 Control from following page to try, this product can be used to view PDF files,
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,
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,
VN:F [1.9.20_1166]An affordable PDF viewer ActiveX (capabilities to zoom, print and save PDF files) ,