<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>Debenu Quick PDF Library - PDF SDK Community Forum : LoadFromFile fails</title>
  <link>http://www.quickpdf.org/forum/</link>
  <description><![CDATA[This is an XML content feed of; Debenu Quick PDF Library - PDF SDK Community Forum : I need help - I can help : LoadFromFile fails]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 04 Apr 2026 23:30:42 +0000</pubDate>
  <lastBuildDate>Wed, 09 Nov 2011 13:13:25 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 11.01</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.quickpdf.org/forum/RSS_post_feed.asp?TID=2034</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Debenu Quick PDF Library - PDF SDK Community Forum]]></title>
   <url>http://www.quickpdf.org/forum/forum_images/QPDF_Forum_Title.png</url>
   <link>http://www.quickpdf.org/forum/</link>
  </image>
  <item>
   <title><![CDATA[LoadFromFile fails : As mentioned in the official support...]]></title>
   <link>http://www.quickpdf.org/forum/loadfromfile-fails_topic2034_post8661.html#8661</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1483">AndrewC</a><br /><strong>Subject:</strong> 2034<br /><strong>Posted:</strong> 09 Nov 11 at 1:13PM<br /><br />As mentioned in the official support case, this PDF is malformed and Acrobat fixes the file when it loads it. &nbsp;The fixed file now loads and renders correctly in QPL 8.11.<div><br></div><div>Andrew</div>]]>
   </description>
   <pubDate>Wed, 09 Nov 2011 13:13:25 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/loadfromfile-fails_topic2034_post8661.html#8661</guid>
  </item> 
  <item>
   <title><![CDATA[LoadFromFile fails : Hi Dan,I had checked the error...]]></title>
   <link>http://www.quickpdf.org/forum/loadfromfile-fails_topic2034_post8657.html#8657</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1754">Betanin</a><br /><strong>Subject:</strong> 2034<br /><strong>Posted:</strong> 08 Nov 11 at 4:42PM<br /><br /><div>Hi Dan,</div><div><br></div><div>I had checked the error code and all of your suppositions. The trouble started in version 8.11, where I made the component works correctly and another day with the same code, the same pdf file, the same component version and key stopped works. I thought it was my license wich was trial, but now that I bought the licence, the problem persist. Thanks</div>]]>
   </description>
   <pubDate>Tue, 08 Nov 2011 16:42:02 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/loadfromfile-fails_topic2034_post8657.html#8657</guid>
  </item> 
  <item>
   <title><![CDATA[LoadFromFile fails : The last error code indicates...]]></title>
   <link>http://www.quickpdf.org/forum/loadfromfile-fails_topic2034_post8655.html#8655</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1739">Dan</a><br /><strong>Subject:</strong> 2034<br /><strong>Posted:</strong> 08 Nov 11 at 4:28PM<br /><br />The last error code indicates it <a href="http://www.quickpdflibrary.com/help/quickpdf/LastErrorCode.php" target="_blank">could not open the file.</a>.<br /><br />Perhaps there's something corrupted or 'special' about the pdf you are trying to load? I assume you're attempting to load the same file as you were when it was working? If so, it could be something that's no longer supported in 8.12 or a bug.<br /><br />Good luck,<br />Dan<span style="font-size:10px"><br /><br />Edited by Dan - 08 Nov 11 at 4:28PM</span>]]>
   </description>
   <pubDate>Tue, 08 Nov 2011 16:28:04 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/loadfromfile-fails_topic2034_post8655.html#8655</guid>
  </item> 
  <item>
   <title><![CDATA[LoadFromFile fails : Hi machalla,Unfortunatelly it...]]></title>
   <link>http://www.quickpdf.org/forum/loadfromfile-fails_topic2034_post8654.html#8654</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1754">Betanin</a><br /><strong>Subject:</strong> 2034<br /><strong>Posted:</strong> 08 Nov 11 at 3:37PM<br /><br />Hi machalla,<div><br></div><div>Unfortunatelly it can't be the problem, because I was in version 8.11 and now in 8.12. Thanks</div>]]>
   </description>
   <pubDate>Tue, 08 Nov 2011 15:37:34 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/loadfromfile-fails_topic2034_post8654.html#8654</guid>
  </item> 
  <item>
   <title><![CDATA[LoadFromFile fails : Hy Dan,I&amp;#039;m programming in...]]></title>
   <link>http://www.quickpdf.org/forum/loadfromfile-fails_topic2034_post8653.html#8653</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1754">Betanin</a><br /><strong>Subject:</strong> 2034<br /><strong>Posted:</strong> 08 Nov 11 at 3:33PM<br /><br />Hy Dan,<div><br></div><div>I'm programming in Delphi 2009, and i'm not using DLL, but the DCU's package. The return value of&nbsp;<span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; ">UnlockKey method is 1, it works correctly, my key is valid. Have you another tip? Thanks</span></div>]]>
   </description>
   <pubDate>Tue, 08 Nov 2011 15:33:25 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/loadfromfile-fails_topic2034_post8653.html#8653</guid>
  </item> 
  <item>
   <title><![CDATA[LoadFromFile fails : A wild guess but perhaps you have...]]></title>
   <link>http://www.quickpdf.org/forum/loadfromfile-fails_topic2034_post8652.html#8652</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1753">machalla</a><br /><strong>Subject:</strong> 2034<br /><strong>Posted:</strong> 08 Nov 11 at 3:00PM<br /><br />A wild guess but perhaps you have upgraded from an older version of quickpdf to the latest V8.<br><br>LoadFromFile has changed its syntax in Version 8.&nbsp; You need to specify a password field for the file even if its blank.&nbsp; Its possible this might be the cause of the code not working if you have updated to the latest Version 8 qpdf from previous versions.<br><br>http://www.quickpdflibrary.com/help/quickpdf/LoadFromFile.php]]>
   </description>
   <pubDate>Tue, 08 Nov 2011 15:00:42 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/loadfromfile-fails_topic2034_post8652.html#8652</guid>
  </item> 
  <item>
   <title><![CDATA[LoadFromFile fails : Which language are you programming...]]></title>
   <link>http://www.quickpdf.org/forum/loadfromfile-fails_topic2034_post8650.html#8650</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1739">Dan</a><br /><strong>Subject:</strong> 2034<br /><strong>Posted:</strong> 08 Nov 11 at 2:39PM<br /><br />Which language are you programming in?<br /><br />To troubleshoot this I'd start with checking the return value from the UnlockKey method. If the unlock method fails code execution will continue but none of the functions will be available. I'm using the dll version of QPL in VB. Here is the code I use:<br /><br />Dim DLLPath As String = "D:/Bin/QuickPDFDLL.dll"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />Dim key As String = "your key here"<br />Dim pdf As PDFLibrary = New PDFLibrary(DLLPath)<br />If Not pdf.LibraryLoaded() Then<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Throw New Exception("QuickPDF Library Not Loaded")<br />End If<br />If pdf.UnlockKey(key) = 0 Then<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Throw New Exception("Did not unlock QuickPDF")<br />End If<br /><br />Dan]]>
   </description>
   <pubDate>Tue, 08 Nov 2011 14:39:28 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/loadfromfile-fails_topic2034_post8650.html#8650</guid>
  </item> 
  <item>
   <title><![CDATA[LoadFromFile fails : I&amp;#039;m using Quick PDF to render...]]></title>
   <link>http://www.quickpdf.org/forum/loadfromfile-fails_topic2034_post8648.html#8648</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1754">Betanin</a><br /><strong>Subject:</strong> 2034<br /><strong>Posted:</strong> 08 Nov 11 at 12:46PM<br /><br />I'm using Quick PDF to render pdf files, it was working correctly up to last week, when the function LoadFromFile stopped to work without an apparent reason. The result code is 0, when I evoke the method&nbsp;LastErrorCode the code is 401. I thought it was lincense, but i bought it yesterday. Someone can help me? Thanks]]>
   </description>
   <pubDate>Tue, 08 Nov 2011 12:46:47 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/loadfromfile-fails_topic2034_post8648.html#8648</guid>
  </item> 
 </channel>
</rss>