<?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 : Is RemoveDocument effectively same as Close?</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 : General Discussion : Is RemoveDocument effectively same as Close?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 04 May 2026 07:06:03 +0000</pubDate>
  <lastBuildDate>Thu, 06 Oct 2011 21:06:41 +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=1987</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[Is RemoveDocument effectively same as Close? : Hi Tyke!CreateObject does what...]]></title>
   <link>http://www.quickpdf.org/forum/is-removedocument-effectively-same-as-close_topic1987_post8452.html#8452</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 1987<br /><strong>Posted:</strong> 06 Oct 11 at 9:06PM<br /><br />Hi Tyke!<br><br>CreateObject does what the name is telling ...<br>and after this you can work on pdf-files (load, manipulate, save, ...<br>and .Free will destroy the object at the end and relase the memory.<br>In a pdf-file you can have/create more than one document and<br>so it's possible to remove one, too.<br><br>Cheers, Ingo<br>]]>
   </description>
   <pubDate>Thu, 06 Oct 2011 21:06:41 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/is-removedocument-effectively-same-as-close_topic1987_post8452.html#8452</guid>
  </item> 
  <item>
   <title><![CDATA[Is RemoveDocument effectively same as Close? : I&amp;#039;ve just downloaded the...]]></title>
   <link>http://www.quickpdf.org/forum/is-removedocument-effectively-same-as-close_topic1987_post8451.html#8451</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1723">LittleTyke</a><br /><strong>Subject:</strong> 1987<br /><strong>Posted:</strong> 06 Oct 11 at 2:53PM<br /><br />I've just downloaded the Quick PDF Lite package in order to get document properties from a number of PDF files. This is how I've coded it and the results look fine:<br><br>Private Sub Command1_Click()<br><br>&nbsp;&nbsp;&nbsp; Dim PDFLibrary As QuickPDFLite0725.PDFLibrary<br>&nbsp;&nbsp;&nbsp; Dim DocID As Long<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; Set PDFLibrary = CreateObject("QuickPDFLite0725.PDFLibrary")<br>&nbsp;&nbsp;&nbsp; Call PDFLibrary.LoadFromFile("F:\VBCD\MAXPRO.PDF")<br>&nbsp;&nbsp;&nbsp; DocID = PDFLibrary.SelectedDocument()<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; Debug.Print "PDF Version: " &amp; PDFLibrary.GetInformation(0)<br>&nbsp;&nbsp;&nbsp; Debug.Print "Author: " &amp; PDFLibrary.GetInformation(1)<br>&nbsp;&nbsp;&nbsp; Debug.Print "Title: " &amp; PDFLibrary.GetInformation(2)<br>&nbsp;&nbsp;&nbsp; Debug.Print "Subject: " &amp; PDFLibrary.GetInformation(3)<br>&nbsp;&nbsp;&nbsp; Debug.Print "Keywords: " &amp; PDFLibrary.GetInformation(4)<br>&nbsp;&nbsp;&nbsp; Debug.Print "Creator: " &amp; PDFLibrary.GetInformation(5)<br>&nbsp;&nbsp;&nbsp; Debug.Print "Producer: " &amp; PDFLibrary.GetInformation(6)<br>&nbsp;&nbsp;&nbsp; Debug.Print "Creation date: " &amp; PDFLibrary.GetInformation(7)<br>&nbsp;&nbsp;&nbsp; Debug.Print "Modification date: " &amp; PDFLibrary.GetInformation(8)<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; Call PDFLibrary.RemoveDocument(DocID)<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; Set PDFLibrary = Nothing<br><br>End Sub<br><br>Does that look about right as one is supposed to work with Quick PDF? In Acrobat Reader I can explicitly File/Close a PDF file when finished with, but the Quick PDF object model doesn't include a Close method. Closest I can find is RemoveDocument, for which I need to have retrieved the DocumentID.<br><br>The above code will eventually be in a loop to recurse through a number of folders, picking up PDF files found and pumping the properties data to a text file or Access database. So the loop will do:&nbsp; LoadFromFile, SelectedDocument, GetInformation, and RemoveDocument continuously, only setting PDFLibrary = Nothing when all the folders have been recursed and the loop is terminated.<br><br>Thanks!<br><br>]]>
   </description>
   <pubDate>Thu, 06 Oct 2011 14:53:16 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/is-removedocument-effectively-same-as-close_topic1987_post8451.html#8451</guid>
  </item> 
 </channel>
</rss>