<?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 : [SOLVED] ExtractFilePages</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 : [SOLVED] ExtractFilePages]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 30 Apr 2026 15:00:01 +0000</pubDate>
  <lastBuildDate>Mon, 10 Jan 2011 16:47:37 +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=1662</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[[SOLVED] ExtractFilePages : We had identical problem with...]]></title>
   <link>http://www.quickpdf.org/forum/solved-extractfilepages_topic1662_post7443.html#7443</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1506">markc</a><br /><strong>Subject:</strong> 1662<br /><strong>Posted:</strong> 10 Jan 11 at 4:47PM<br /><br />We had identical problem with DELPHI<DIV>I will try using the PageRange function. </DIV><DIV>&nbsp;</DIV><DIV>But still the function EXTRACTFILEPAGES needs to be fixed.</DIV>]]>
   </description>
   <pubDate>Mon, 10 Jan 2011 16:47:37 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/solved-extractfilepages_topic1662_post7443.html#7443</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] ExtractFilePages : Hello All,Just to let you all...]]></title>
   <link>http://www.quickpdf.org/forum/solved-extractfilepages_topic1662_post7339.html#7339</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1431">PolderBoy</a><br /><strong>Subject:</strong> 1662<br /><strong>Posted:</strong> 07 Dec 10 at 8:10PM<br /><br />Hello All,<br><br>Just to let you all know we/I have solved it.<br>Well not really we just tried something else:<br><h1>ExtractPageRanges</h1><br>First load the file then extractpageranges and put the in another pdf file.<br><br>Thanks for all the help.<br><br>POlderBoy<br>]]>
   </description>
   <pubDate>Tue, 07 Dec 2010 20:10:36 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/solved-extractfilepages_topic1662_post7339.html#7339</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] ExtractFilePages : Dear All,I have been testing the...]]></title>
   <link>http://www.quickpdf.org/forum/solved-extractfilepages_topic1662_post7327.html#7327</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1431">PolderBoy</a><br /><strong>Subject:</strong> 1662<br /><strong>Posted:</strong> 05 Dec 10 at 11:48AM<br /><br />Dear All,<br><br>I have been testing the VB6 code and found out the fact that I can only use the function if page 1 is included:<br>These are the strings that I 'give' into the function: <br>(Private Function PDFPaginaSamenvoegen(InputFileName As String, OutputFileName as String, RangeList as String) As Integer)<br><br>1,2,3,4 --&gt;works<br>5,7,9 --&gt; gives error 412<br>5 --&gt; gives error 412<br>1 --&gt;works<br>1,2,3 --&gt;works<br>2,3,4,5 --&gt; gives error 412<br><br>I don't always want to include the first page.<br>I could and after succesful making the file, remove the first page if needed. But that is not the way I would like to make the program.<br><br>I hope somebody can help me further.<br>PolderBoy<br><br>]]>
   </description>
   <pubDate>Sun, 05 Dec 2010 11:48:33 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/solved-extractfilepages_topic1662_post7327.html#7327</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] ExtractFilePages : Hello,Thanks for the reply.Good...]]></title>
   <link>http://www.quickpdf.org/forum/solved-extractfilepages_topic1662_post7289.html#7289</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1431">PolderBoy</a><br /><strong>Subject:</strong> 1662<br /><strong>Posted:</strong> 30 Nov 10 at 6:19PM<br /><br />Hello,<br><br>Thanks for the reply.<br><br>Good question:<br>As I have only one file tested (for opening) that could be the case.<br>But Adobe Acrobat reader can open the file, no password, the file is on the same harddisk as the VB6 program. <br>Folderpath is correct.<br>The pdf are scans made by a canon scanner of about 32 pages.<br>They are placed, by the canon machine, in the folder. I have moved the files to another folder. No luck.<br><br>When I make a error bij changing the path to a non existing pdf file we get another error: "Can't find file". That makes me believe that it hasn't anything to do with the files or folders.<br><br>Could I sent you the pdf file?<br>And could you test it there with you?<br>And, most important, would you?<br><br>PolderBoy<br><br>]]>
   </description>
   <pubDate>Tue, 30 Nov 2010 18:19:24 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/solved-extractfilepages_topic1662_post7289.html#7289</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] ExtractFilePages : Hi!ExtractFilePages works on PDF-documents...]]></title>
   <link>http://www.quickpdf.org/forum/solved-extractfilepages_topic1662_post7288.html#7288</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 1662<br /><strong>Posted:</strong> 30 Nov 10 at 6:05PM<br /><br />Hi!<br><br>ExtractFilePages works on PDF-documents whithout loading ...<br>Good for the memory-usage ;-)<br>This function is already a very old one - so it should be work stable...<br>If you get always an error the questions could be:<br>With each file or only few?<br>Are the files write protected?<br>EBook-files or something like that?<br>Is there a user password on the file?<br>Where are the files... which path... what about the security settings for this path?<br><br>Cheers, Ingo<br>&nbsp;<br>]]>
   </description>
   <pubDate>Tue, 30 Nov 2010 18:05:07 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/solved-extractfilepages_topic1662_post7288.html#7288</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] ExtractFilePages :  Dear All,Thank you for the reply.But...]]></title>
   <link>http://www.quickpdf.org/forum/solved-extractfilepages_topic1662_post7287.html#7287</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1431">PolderBoy</a><br /><strong>Subject:</strong> 1662<br /><strong>Posted:</strong> 30 Nov 10 at 4:48PM<br /><br />Dear All,<br><br>Thank you for the reply.<br><br>But we are using the testkey, that is something we need to supply otherwise it won't work at all.<br>Here is our code:<br><br>Private Function PDFPaginaSamenvoegen(InputFileName As String, OutputFileName, RangeList) As Integer<br><br>Dim ClassName As String<br>Dim intResultaat As Integer<br><br>ClassName = "QuickPDFAX0721.PDFLibrary"<br><br>Dim QP<br>Dim Result<br>Set QP = CreateObject(ClassName)<br>Result = QP.UnlockKey(LicenseKey)<br>&nbsp;&nbsp; &nbsp;<br>If Result = 1 Then<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; intResultaat = QP.ExtractFilePages(InputFileName, OutputFileName, RangeList)<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; If intResultaat = 1 Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PDFPaginaSamenvoegen = 1<br>&nbsp;&nbsp;&nbsp; Else<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PDFPaginaSamenvoegen = 0<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Call MsgBox("De fout code is: " &amp; QP.LastErrorCode, vbOKOnly)<br>&nbsp;&nbsp;&nbsp; End If<br><br>Else<br>&nbsp;&nbsp;&nbsp; MsgBox "Invalid license key. Please set your license key by editing this file."<br>&nbsp;&nbsp;&nbsp; PDFPaginaSamenvoegen = "ERROR"<br>End If<br><br>Set QP = Nothing<br><br>End Function <br><br>The variable LicenseKey is filled when the program is loaded.<br>The variable InputFileName is filled correct, the file exist, and has 32 pages (QP.pagecount).<br>The variable OutputFileName is a correct adres and file name, doesn't exist. Tried it with an existing file. Same error number (412)<br>RangeList has been tested with all sort of possibilitys.<br>As mentioned in other post.<br><br>We also use part of the code(the setting of QP) for QP.pagecount <br>So we are sure that some functions work, and part of our code is correct.<br><br>You said that we should give all the code but this is all the code.<br>Do we need to create the pdf first?<br>Do we need ro load the pdf first?<br>We (I) couldn't find any clear answer to that.<br>I just downloaded the VB6 example and worked from there.<br><br>Thanks in advance.<br><br>PolderBoy<br><br><span style="font-size:10px"><br /><br />Edited by PolderBoy - 30 Nov 10 at 5:00PM</span>]]>
   </description>
   <pubDate>Tue, 30 Nov 2010 16:48:56 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/solved-extractfilepages_topic1662_post7287.html#7287</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] ExtractFilePages :    PolderBoy wrote:Could it...]]></title>
   <link>http://www.quickpdf.org/forum/solved-extractfilepages_topic1662_post7286.html#7286</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 1662<br /><strong>Posted:</strong> 30 Nov 10 at 2:43PM<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by PolderBoy" alt="Originally posted by PolderBoy" style="vertical-align: text-bottom;" /> <strong>PolderBoy wrote:</strong><br /><br /><br>Could it be that we are using the demo version?<br></td></tr></table><br><br>This could be ... use the testregkey to unlock the library ...<br>and then ExtractFilePages.<br><br>If this won't work you should post all relevant code <br>from create ... load ... extractfilepages ... free<br><br>Cheers, Ingo<br><br>]]>
   </description>
   <pubDate>Tue, 30 Nov 2010 14:43:34 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/solved-extractfilepages_topic1662_post7286.html#7286</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] ExtractFilePages : Dear All,I have tried the function...]]></title>
   <link>http://www.quickpdf.org/forum/solved-extractfilepages_topic1662_post7285.html#7285</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1431">PolderBoy</a><br /><strong>Subject:</strong> 1662<br /><strong>Posted:</strong> 30 Nov 10 at 1:18PM<br /><br />Dear All,<br><br>I have tried the function in the 'Quick PDF Library Console' and it doesn't work there either.<br><br>PolderBoy<br>]]>
   </description>
   <pubDate>Tue, 30 Nov 2010 13:18:11 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/solved-extractfilepages_topic1662_post7285.html#7285</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] ExtractFilePages :  Hello All,Question: I would...]]></title>
   <link>http://www.quickpdf.org/forum/solved-extractfilepages_topic1662_post7284.html#7284</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1431">PolderBoy</a><br /><strong>Subject:</strong> 1662<br /><strong>Posted:</strong> 30 Nov 10 at 12:10PM<br /><br />Hello All,<br><br>Question: I would like to use in VB6 the function:<br>ExtractFilePages(<br>&nbsp;&nbsp;InputFileName As String, OutputFileName As String, <br>&nbsp;&nbsp;RangeList As String) As Long<br><br>But I keep getting the 412 error which means 'Invalid page range list'<br>strRangeList = "1" <br>strRangeList = "1-2"<br>strRangeList = "1,2"<br>lngResult = ExtractFilePages(strInputFileName, strOutputFileName, strRangeList)<br>I have tried to put it directly into the function call:<br>lngResult = ExtractFilePages(strInputFileName, strOutputFileName, "1")<br><br>But in all casses we are getting a result of 412.<br><br>Could it be that we are using the demo version?<br><br>Thanks in advance.<br>PolderBoy<br><span style="font-size:10px"><br /><br />Edited by PolderBoy - 07 Dec 10 at 8:11PM</span>]]>
   </description>
   <pubDate>Tue, 30 Nov 2010 12:10:58 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/solved-extractfilepages_topic1662_post7284.html#7284</guid>
  </item> 
 </channel>
</rss>