Do you own a Debenu Quick PDF Library 12/11/10/9/8/7? Upgrade to Debenu Quick PDF Library 13!

Foxit Quick PDF Library

Frequently Asked Question:

Return to FAQ Index

Is quick PDF compatible with VB6?

Question

Hello,

I am developing a POC for my company and would like to know if QuickPDF actually works with VB6. Our requirement is to read the content of a pdf using a custom app developed in VB. As I get from this forum, there is not much help available for VB6. Is that so? Here is the code that I am using:

Private Sub Form_Load() Dim QP As QuickPDFAX0718.PDFLibrary Dim LicenseKey Dim FileName Dim Result Dim xyz As String

LicenseKey = "j57g76ru93q8dq7bi6rs4ot8y"
FileName = "C:\Test.pdf"

Set QP = New QuickPDFAX0718.PDFLibrary
Result = QP.UnlockKey(LicenseKey)

If Result = 1 Then
    xyz = QP.ExtractFilePageText(FileName, "", 1, 4)
Else
    MsgBox "Invalid license key"
End If

End Sub

Answer

Yes, absolutely, Quick PDF Library will work with Visual Basic 6. You can use either the ActiveX or DLL editions with this programming language. We actually have a tutorial that demonstrates how to use VB6 with the ActiveX edition. Good luck!


© 2015 Debenu & Foxit. All rights reserved. AboutBuyContactBlogNewsletterSupportFAQProduct UpdatesForum