Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - GetPageText crashes my app when used with DLL
  FAQ FAQ  Forum Search   Register Register  Login Login

GetPageText crashes my app when used with DLL

 Post Reply Post Reply
Author
Message
Rudydm View Drop Down
Beginner
Beginner


Joined: 17 Nov 10
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote Rudydm Quote  Post ReplyReply Direct Link To This Post Topic: GetPageText crashes my app when used with DLL
    Posted: 17 Nov 10 at 5:11PM
Hello,
 
i have integrated Quickpdf in my vb.net application to extract text from pdf-files.
It works fine when i use the ActiveX-control, but when i use the DLL version, it completely crashes my application as soon as i execute the GetPagetext function.
i am using the resource code from the QuickPDFDLL0721.vb file in the sample project.
 
I would rather use the dll-version because it doesn't have to be registered.
Registering the activex-dll is a pain on vista and later machines when i distribute an update to my users.
 
 
This is my code :
 

Dim qp As PDFLibrary

Dim LicenseKey

Dim Result

' Update path to DLL if necessary

'QP = New QuickPDFAX0721.PDFLibrary  -- This is the Activex code, which works

qp = New PDFLibrary("C:\Program Files\Quick PDF Library\DLL\QuickPDFDLL0721.DLL")

' Insert your trial or commercial license key here

LicenseKey = "my_licence_key"

Result = QP.UnlockKey(LicenseKey)

If Result = 1 Then

QP.LoadFromFile(vanbestand)

QP.SelectPage(1)

pdfinhoud = QP.GetPageText(0)

Else

MsgBox("- Invalid license key -")

End If

QP = Nothing



Edited by Ingo - 18 Nov 10 at 10:58AM
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store