An affordable PDF viewer ActiveX (capabilities to zoom, print and save PDF files)

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.

VeryPDF
====================================
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.

VeryPDF
====================================
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.

VeryPDF
====================================
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,

http://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,

http://www.verypdf.com/pdf-editor/index.html

VeryPDF
====================================
VN:F [1.9.20_1166]
Rating: 10.0/10 (1 vote cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
An affordable PDF viewer ActiveX (capabilities to zoom, print and save PDF files) , 10.0 out of 10 based on 1 rating

Related Posts

This entry was posted in PDF to Image Converter, PDF Viewer OCX 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!