Frequently Asked Question:
Is quick PDF compatible with VB6?
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
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!