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 > General Discussion
  New Posts New Posts RSS Feed - LoadfromFile returns 2
  FAQ FAQ  Forum Search   Register Register  Login Login

LoadfromFile returns 2

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


Joined: 11 Oct 10
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote tgaebler Quote  Post ReplyReply Direct Link To This Post Topic: LoadfromFile returns 2
    Posted: 11 Oct 10 at 8:43AM
Hello,
i m new to use QuickPDF.
 
i tryed follow Code from the Sample.
 
string fileName = "test.pdf";
string licenseKey = "..."; PDFLibrary qp = new PDFLibrary();
qp.UnlockKey(licenseKey);
if (qp.Unlocked() == 1)

{

qp.LoadFromFile(fileName);

}
 
With the Sample PDF its works, but with my own PDF Loadfromfile return always 2.
What can i do?
 
Thomas


Edited by Rowan - 11 Oct 10 at 6:24PM
Back to Top
tgaebler View Drop Down
Beginner
Beginner


Joined: 11 Oct 10
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote tgaebler Quote  Post ReplyReply Direct Link To This Post Posted: 11 Oct 10 at 9:56AM
i found the problem, because we merge the PDFs with Gios PDF Splitter and Merger . but why can quick PDF the PDF not load?

Edited by tgaebler - 11 Oct 10 at 9:57AM
Back to Top
Rowan View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 10 Jan 09
Status: Offline
Points: 398
Post Options Post Options   Thanks (0) Thanks(0)   Quote Rowan Quote  Post ReplyReply Direct Link To This Post Posted: 11 Oct 10 at 7:05PM
For PDF files that return 2 when called with LoadFromFile try calling SetAdvancePassword("") before LoadFromFile and see if that helps.
Back to Top
tgaebler View Drop Down
Beginner
Beginner


Joined: 11 Oct 10
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote tgaebler Quote  Post ReplyReply Direct Link To This Post Posted: 12 Oct 10 at 9:16AM
Thanks, that works.
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