<?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 : AddToFileList not working....</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 : AddToFileList not working....]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 01 May 2026 04:02:22 +0000</pubDate>
  <lastBuildDate>Sat, 06 Feb 2010 23:56:51 +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=1339</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[AddToFileList not working.... : Thanks! That took care of it....]]></title>
   <link>http://www.quickpdf.org/forum/addtofilelist-not-working_topic1339_post6121.html#6121</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1247">agent86</a><br /><strong>Subject:</strong> 1339<br /><strong>Posted:</strong> 06 Feb 10 at 11:56PM<br /><br />Thanks!&nbsp; That took care of it.&nbsp; Now I only have to deal with what happens when there is only 1 file in the folder.]]>
   </description>
   <pubDate>Sat, 06 Feb 2010 23:56:51 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/addtofilelist-not-working_topic1339_post6121.html#6121</guid>
  </item> 
  <item>
   <title><![CDATA[AddToFileList not working.... : You are overwriting your merged...]]></title>
   <link>http://www.quickpdf.org/forum/addtofilelist-not-working_topic1339_post6120.html#6120</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=121">Wheeley</a><br /><strong>Subject:</strong> 1339<br /><strong>Posted:</strong> 06 Feb 10 at 11:38PM<br /><br />You are overwriting your merged file with a blank page. Remove the line <em>QPDF.SaveToFile(MergedPDFName)</em>. Also don't forget to clear the file list before you do the free.<span style="font-style: italic;"><br><br>Wheeley<br><br></span><em></em>]]>
   </description>
   <pubDate>Sat, 06 Feb 2010 23:38:56 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/addtofilelist-not-working_topic1339_post6120.html#6120</guid>
  </item> 
  <item>
   <title><![CDATA[AddToFileList not working.... : Delphi 7QPDF 0717 When I merge...]]></title>
   <link>http://www.quickpdf.org/forum/addtofilelist-not-working_topic1339_post6119.html#6119</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1247">agent86</a><br /><strong>Subject:</strong> 1339<br /><strong>Posted:</strong> 06 Feb 10 at 6:23PM<br /><br /><P>Delphi 7<BR>QPDF 0717</P><P>When I merge files using the following procedure I get 1 blank page.&nbsp; The resulting document has the correct name but no contents.&nbsp; I've searched in vain for what I'm doing wrong.&nbsp; I've looked at the Delphi demos and can't see what I'm doing wrong.&nbsp; I've already searched the forum but there is no sample code to show how to successfully use AddToFileList and MergeFileList.&nbsp; </P><P>I'm still evaluating Quick PDF but this is one of my last hurdles before I buy.&nbsp; </P><P>procedure TAutoPrintMainFormForm.MergeEmailPDFsQPDF ;<BR>var source, destination, pname : string ;<BR>&nbsp;&nbsp; i : integer ;<BR>&nbsp;&nbsp; Unlockresult : integer ;<BR>&nbsp;&nbsp; QPDF : TQuickPDF0717 ;<BR>&nbsp;&nbsp; groupfolder, problemsfolder, pdftempfolder : string ;<BR>&nbsp;&nbsp; sFileName, pdfname : AnsiString ;<BR>begin<BR>&nbsp;&nbsp; try<BR>&nbsp;&nbsp;&nbsp;&nbsp; QPDF := TQuickPDF0717.Create ;<BR>&nbsp;&nbsp;&nbsp;&nbsp; UnlockResult := QPDF.UnlockKey(QPDFKey);</P><P>&nbsp;&nbsp;&nbsp;&nbsp; QPDF.ClearFileList(sFileName) ;</P><P>&nbsp;&nbsp;&nbsp;&nbsp; // add pdfs to list for merging<BR>&nbsp;&nbsp;&nbsp;&nbsp; for i := 0 to EmailPDFsFolderMemo.Lines.Count - 1 do<BR>&nbsp;&nbsp;&nbsp;&nbsp; begin<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // filename with path<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pdfname := Trim(EmailPDFsFolderMemo.Lines<em>) ;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; QPDF.AddToFileList( sFileName, pdfname );<BR>&nbsp;&nbsp;&nbsp;&nbsp; end ;</P><P>&nbsp;&nbsp;&nbsp;&nbsp; // make folder if it does not exist</P><P>&nbsp;&nbsp;&nbsp;&nbsp; groupfolder := EmailPDFProcessFolderDBEdit.Text + '\' +<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; EmailFolderName ;</P><P>&nbsp;&nbsp;&nbsp;&nbsp; // does folder already exist? if not create</P><P>&nbsp;&nbsp;&nbsp;&nbsp; if not ( DirectoryExists ( groupfolder ) ) then<BR>&nbsp;&nbsp;&nbsp;&nbsp; begin<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ForceDirectories ( groupfolder ) ;<BR>&nbsp;&nbsp;&nbsp;&nbsp; end ;</P><P>&nbsp;&nbsp;&nbsp;&nbsp; MergedPDFName := groupfolder + '\' +<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; EmailTransactionDateTime + '_' +<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; EmailFolderName + '.pdf' ;</P><P>&nbsp;&nbsp;&nbsp;&nbsp; QPDF.MergeFileList( sFileName, MergedPDFName ) ;</P><P>&nbsp;&nbsp;&nbsp;&nbsp; QPDF.SaveToFile(MergedPDFName) ;</P><P>&nbsp;&nbsp; finally<BR>&nbsp;&nbsp;&nbsp;&nbsp; QPDF.Free ;<BR>&nbsp;&nbsp; end ;<BR>&nbsp;&nbsp; <BR>end;<BR></P>]]>
   </description>
   <pubDate>Sat, 06 Feb 2010 18:23:00 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/addtofilelist-not-working_topic1339_post6119.html#6119</guid>
  </item> 
 </channel>
</rss>