<?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 : Problem SaveToString / LoadFromString</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 : Problem SaveToString / LoadFromString]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 08 May 2026 08:27:07 +0000</pubDate>
  <lastBuildDate>Thu, 01 Jun 2006 05:06:35 +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=413</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[Problem SaveToString / LoadFromString : Hi swb1,  I have tested TBlobF...]]></title>
   <link>http://www.quickpdf.org/forum/problem-savetostring-loadfromstring_topic413_post1898.html#1898</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=361">ECPVFR</a><br /><strong>Subject:</strong> 413<br /><strong>Posted:</strong> 01 Jun 06 at 5:06AM<br /><br />Hi swb1,<br /><br />I have tested TBlobField(Query.FieldByName('PDFBLOB')).SaveToFile(sFileName) (with BDE components) and it doesn't work at all!<br />It is showing 'cannot transliterate characters between character sets' even if I set 'transliterate' to FALSE!<br /><br />So I have to use the IBO components (or waste hours/days to get BDE components working somehow...)]]>
   </description>
   <pubDate>Thu, 01 Jun 2006 05:06:35 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/problem-savetostring-loadfromstring_topic413_post1898.html#1898</guid>
  </item> 
  <item>
   <title><![CDATA[Problem SaveToString / LoadFromString : Hi swb1,  of course I could. But...]]></title>
   <link>http://www.quickpdf.org/forum/problem-savetostring-loadfromstring_topic413_post1891.html#1891</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=361">ECPVFR</a><br /><strong>Subject:</strong> 413<br /><strong>Posted:</strong> 30 May 06 at 2:41AM<br /><br />Hi swb1,<br /><br />of course I could. But inside our BLOBs there are/can be  german special characters and with IBO I'm sure (has been tested!) the input and output is correct without additional work.<br /><br />Besides: IBO is very stable, quick and well supported!!!<br /><br />We have been using the "BDE" for some (horrible) years and since we have (mostly) replced BDE with IBO, things have become much better!<br />]]>
   </description>
   <pubDate>Tue, 30 May 2006 02:41:52 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/problem-savetostring-loadfromstring_topic413_post1891.html#1891</guid>
  </item> 
  <item>
   <title><![CDATA[Problem SaveToString / LoadFromString : I have never used the interbase...]]></title>
   <link>http://www.quickpdf.org/forum/problem-savetostring-loadfromstring_topic413_post1866.html#1866</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=173">swb1</a><br /><strong>Subject:</strong> 413<br /><strong>Posted:</strong> 23 May 06 at 1:33PM<br /><br /><P class=Ms&#111;normal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt">I have never used the interbase components… so I ignorantly ask… Couldn’t you just cast the field component as TBlobfield? i.e.: <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P><P class=Ms&#111;normal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 12.0pt"></SPAN>&nbsp;</P><P class=Ms&#111;normal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 12.0pt">Table.FieldByName(‘xyz’) as TBlobField.SaveToFile(FileName);<o:p></o:p></SPAN></P>]]>
   </description>
   <pubDate>Tue, 23 May 2006 13:33:32 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/problem-savetostring-loadfromstring_topic413_post1866.html#1866</guid>
  </item> 
  <item>
   <title><![CDATA[Problem SaveToString / LoadFromString : ok  It&amp;#039;s a pitty the standard...]]></title>
   <link>http://www.quickpdf.org/forum/problem-savetostring-loadfromstring_topic413_post1865.html#1865</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=290">cpri</a><br /><strong>Subject:</strong> 413<br /><strong>Posted:</strong> 23 May 06 at 8:36AM<br /><br /><P>ok </P><P>It's a pitty the standard interbase components from borland don't support the function. But the methode I use works fine</P><P>Thanks anyway</P>]]>
   </description>
   <pubDate>Tue, 23 May 2006 08:36:33 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/problem-savetostring-loadfromstring_topic413_post1865.html#1865</guid>
  </item> 
  <item>
   <title><![CDATA[Problem SaveToString / LoadFromString : Hello!  Our company is using Interbase/FireBird...]]></title>
   <link>http://www.quickpdf.org/forum/problem-savetostring-loadfromstring_topic413_post1864.html#1864</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=361">ECPVFR</a><br /><strong>Subject:</strong> 413<br /><strong>Posted:</strong> 23 May 06 at 6:33AM<br /><br />Hello!<br /><br />Our company is using Interbase/FireBird as default SQL server database. For database access we have Jason Wharton's great 'IBO' components (InterBase Objects) and these allow FieldByName('xx').SaveToFile.<br />]]>
   </description>
   <pubDate>Tue, 23 May 2006 06:33:30 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/problem-savetostring-loadfromstring_topic413_post1864.html#1864</guid>
  </item> 
  <item>
   <title><![CDATA[Problem SaveToString / LoadFromString : Hello ParamByName(&amp;#039;Data&amp;#039;).LoadFormFile...]]></title>
   <link>http://www.quickpdf.org/forum/problem-savetostring-loadfromstring_topic413_post1863.html#1863</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=290">cpri</a><br /><strong>Subject:</strong> 413<br /><strong>Posted:</strong> 23 May 06 at 4:18AM<br /><br /><P>Hello</P><P>ParamByName('Data').LoadFormFile works great but I can't find the function FieldByName('Data').SaveToFile.</P><P>am I missing something. I'm using the standard Interbase components</P>]]>
   </description>
   <pubDate>Tue, 23 May 2006 04:18:55 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/problem-savetostring-loadfromstring_topic413_post1863.html#1863</guid>
  </item> 
  <item>
   <title><![CDATA[Problem SaveToString / LoadFromString : Ok glad you worked it out. I...]]></title>
   <link>http://www.quickpdf.org/forum/problem-savetostring-loadfromstring_topic413_post1862.html#1862</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=290">cpri</a><br /><strong>Subject:</strong> 413<br /><strong>Posted:</strong> 23 May 06 at 1:33AM<br /><br /><P>Ok glad you worked it out.</P><P>I will try the SaveToFile as well. It takes less code and memory </P><P>So thanks for the tip</P>]]>
   </description>
   <pubDate>Tue, 23 May 2006 01:33:52 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/problem-savetostring-loadfromstring_topic413_post1862.html#1862</guid>
  </item> 
  <item>
   <title><![CDATA[Problem SaveToString / LoadFromString : Hello Christian!  The importing...]]></title>
   <link>http://www.quickpdf.org/forum/problem-savetostring-loadfromstring_topic413_post1842.html#1842</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=361">ECPVFR</a><br /><strong>Subject:</strong> 413<br /><strong>Posted:</strong> 18 May 06 at 12:56PM<br /><br />Hello Christian!<br /><br />The importing with "SaveToStream"/"LoadFromStream" did NOT work at all, but I sneaked through Interbase/FireBird/IBO documentation and found another possibility...<br />Now I don't need QuickPDF for writing/saving; I can do this like<br /><br /> with IB_QWORK do<br />  TRY<br />&nbsp;&nbsp;&nbsp;active := FALSE;<br />&nbsp;&nbsp;&nbsp;ParamByName('aID').AsInteger := IDX;<br />&nbsp;&nbsp;&nbsp;ParamByName('aFNAME').AsString := ExtractFileName(sTMP);<br />&nbsp;&nbsp;&nbsp;ParamByName('aDATA').LoadFromFile(sTMP);<br />&nbsp;&nbsp;&nbsp;execSQL;<br />&nbsp;&nbsp;&nbsp;...<br />  EXCEPT<br />&nbsp;&nbsp;&nbsp;...<br />  END;<br /><br />For loading the PDF I can act similar ( FieldByName('DATA').SaveToFile(...))<br /><br />But Your idea was the final solution (writing BLOB directly)!<br />THANKS!]]>
   </description>
   <pubDate>Thu, 18 May 2006 12:56:46 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/problem-savetostring-loadfromstring_topic413_post1842.html#1842</guid>
  </item> 
  <item>
   <title><![CDATA[Problem SaveToString / LoadFromString : Thanks Christian, I&amp;#039;ll try...]]></title>
   <link>http://www.quickpdf.org/forum/problem-savetostring-loadfromstring_topic413_post1839.html#1839</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=361">ECPVFR</a><br /><strong>Subject:</strong> 413<br /><strong>Posted:</strong> 18 May 06 at 10:03AM<br /><br />Thanks Christian, I'll try that next!]]>
   </description>
   <pubDate>Thu, 18 May 2006 10:03:43 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/problem-savetostring-loadfromstring_topic413_post1839.html#1839</guid>
  </item> 
  <item>
   <title><![CDATA[Problem SaveToString / LoadFromString : Why don&amp;#039;t you save the pdf...]]></title>
   <link>http://www.quickpdf.org/forum/problem-savetostring-loadfromstring_topic413_post1837.html#1837</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=290">cpri</a><br /><strong>Subject:</strong> 413<br /><strong>Posted:</strong> 18 May 06 at 8:59AM<br /><br /><P>Why don't you save the pdf as a BLOB in your database with SaveToStream. </P><P>code for reading and writing the pdf to and from the database</P><P>/code</P><P>procedure TMydbase.read_datasheet(indexnummer:integer);<BR>var&nbsp; blob : tstream;<BR>begin<BR>query_open('select * from&nbsp;Table where indexnummer = '+ ''''+inttostr(indexnummer)+'''');<BR>blob:=query.createblobstream(query.Fieldbyname('datasheet'),bmread);<BR>blob.seek(0,sofrombeginning);&nbsp; //I always save the current pdf to my HD but you cal load it in your quickpdf object as well<BR>with tfilestream.create('c:\default.pdf',fmcreate) do<BR>&nbsp;&nbsp;&nbsp;&nbsp; try<BR>&nbsp;&nbsp;&nbsp;&nbsp; copyfrom(blob,blob.size);<BR>&nbsp;&nbsp;&nbsp;&nbsp; finally<BR>&nbsp;&nbsp;&nbsp;&nbsp; free;<BR>&nbsp;&nbsp;&nbsp;&nbsp; end;<BR>blob.free;<BR>query.Close;<BR>end;</P><P>procedure TMydbase.write_datasheet(type_meting,tekeningnr,operator,datum,tijd,bewerking,kommentaar:string;pijp_nr,array_nr,indexnummer_meting:integer);<BR>var sql_:string;<BR>begin<BR>sql_:='insert into Tabel(indexnummer,datasheet) ';<BR>sql_:=sql_+'values(:indexnummer,:datasheet)';<BR>Query.SQL.Clear;<BR>query.sql.add(sql_);<BR>query.prepare;<BR>query.parambyname('indexnummer_meting').value:=indexnummer;<BR>Query.ParamByName('datasheet').LoadFromFile('c:\default.pdf',ftblob); //you should use load fromstream instead<BR>execute_sql;<BR>end;<BR></P><P><BR>code</P>]]>
   </description>
   <pubDate>Thu, 18 May 2006 08:59:53 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/problem-savetostring-loadfromstring_topic413_post1837.html#1837</guid>
  </item> 
 </channel>
</rss>