<?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 : MS Access(vb6) &amp; DLL Version</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 : MS Access(vb6) &amp; DLL Version]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 26 May 2026 15:24:33 +0000</pubDate>
  <lastBuildDate>Thu, 16 Apr 2020 15:05:12 +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=3804</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[MS Access(vb6) &amp; DLL Version : Hi Howard,please have a look into...]]></title>
   <link>http://www.quickpdf.org/forum/ms-accessvb6-dll-version_topic3804_post15203.html#15203</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 3804<br /><strong>Posted:</strong> 16 Apr 20 at 3:05PM<br /><br />Hi Howard,<br><br>please have a look into the vb-sample below.<br>The heaviest thing is the string handling with unicode.<br>Please have a detailed look into pointers as well.<br>Important at least where the dll should be (you'll know the difference with paths in win32 and win64).<br>If you want to use the dll with vba inside MS Access, Excel, … then the dll has to be in the system32- or syswow64-directory (application directory won’t work). <br>Choosing the dll inside for example a mdb-project via extras -&gt; references won't work 'cause the dll can't be registered without an entry point – so simply copying into system32 or syswow64 … that’s all.<br><br>Cheers and welcome here,<br>Ingo<br><br>- - -<br><br><b>my vb-sample - the module1.bas-file...</b><br><br>Attribute VB_Name = "Module1"<br>Public Declare Function GetPDFfunction1 Lib "QuickPDF.dll" (ByVal Filename As String) As Long<br>Public Declare Function GetPDFfunction2 Lib "QuickPDF.dll" (ByVal Filename As String, ByVal Opt As Long, ByVal sepa As String, ByVal fipa As Long) As Long<br>Public Declare Function GetPDFfunction3 Lib "QuickPDF.dll" (ByVal Filename As String, ByVal FieldName As String) As Long<br><br>Public Declare Function apiLStrCopyW Lib "kernel32.dll" Alias "lstrcpyW" (ByVal lpString1 As Long, ByVal lpString2 As Long) As Long<br>Public Declare Function apiLStrLenW Lib "kernel32.dll" Alias "lstrlenW" (ByVal lpString As Long) As Long<br><br>Public Function GetStringFromPtrW(ByVal ptr As Long) As String<br>&nbsp; 'create a matching buffer<br>&nbsp; GetStringFromPtrW = String$(apiLStrLenW(ptr), 0)<br>&nbsp; 'copying the string into the buffer<br>&nbsp; apiLStrCopyW StrPtr(GetStringFromPtrW), ptr<br>End Function<br><br><b>now the relevant functions out of my form1.frm-file...</b><br><br>Private Sub Command1_Click()<br>&nbsp;&nbsp;&nbsp; Dim bPfad() As Byte<br>&nbsp;&nbsp;&nbsp; Dim sepa() As Byte<br>&nbsp;&nbsp;&nbsp; bPfad = StrConv(Text1.Text, vbUnicode)<br>&nbsp;&nbsp;&nbsp; sepa = StrConv(";", vbUnicode)<br>&nbsp;&nbsp;&nbsp; Text2.Text = GetStringFromPtrW(GetPDFfunction2(bPfad, 2, sepa, 1))<br>End Sub<br><br>Private Sub Command2_Click()<br>&nbsp;&nbsp;&nbsp; Dim bPfad() As Byte<br>&nbsp;&nbsp;&nbsp; Dim sepa() As Byte<br>&nbsp;&nbsp;&nbsp; bPfad = StrConv(Text1.Text, vbUnicode)<br>&nbsp;&nbsp;&nbsp; sepa = StrConv(";", vbUnicode)<br>&nbsp;&nbsp;&nbsp; Text2.Text = GetStringFromPtrW(GetPDFfunction2(bPfad, 1, sepa, 1))<br>End Sub<br><br>Private Sub Command3_Click()<br>&nbsp;&nbsp;&nbsp; Dim bPfad() As Byte<br>&nbsp;&nbsp;&nbsp; Dim bfield() As Byte<br>&nbsp;&nbsp;&nbsp; bPfad = StrConv(Text1.Text, vbUnicode)<br>&nbsp;&nbsp;&nbsp; bfield = StrConv(Text3.Text, vbUnicode)<br>&nbsp;&nbsp;&nbsp; Text2.Text = GetStringFromPtrW(GetPDFfunction3(bPfad, bfield)) 'Get...<br>End Sub<br><br>Private Sub option1_Click()<br>&nbsp;&nbsp;&nbsp; Dim bPfad() As Byte<br>&nbsp;&nbsp;&nbsp; Dim sepa() As Byte<br>&nbsp;&nbsp;&nbsp; bPfad = StrConv(Text1.Text, vbUnicode)<br>&nbsp;&nbsp;&nbsp; sepa = StrConv(";", vbUnicode)<br>'&nbsp;&nbsp; very long string contents will not be supported in a proper way by common edit controls...&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; If Len(GetStringFromPtrW(GetPDFfunction2(bPfad, 3, sepa, 1))) &gt; 2000 Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Text2.Text = Left(GetStringFromPtrW(GetPDFfunction2(bPfad, 3, sepa, 1)), 2000) &amp; "...!!!...aborted because not senseful for a single edit-field...!!!"<br>&nbsp;&nbsp;&nbsp; Else<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Text2.Text = GetStringFromPtrW(GetPDFfunction2(bPfad, 3, sepa, 1))<br>&nbsp;&nbsp;&nbsp; End If<br>End Sub<br><br>Private Sub option2_Click()<br>&nbsp;&nbsp;&nbsp; Dim bPfad() As Byte<br>&nbsp;&nbsp;&nbsp; bPfad = StrConv(Text1.Text, vbUnicode)<br>&nbsp;&nbsp;&nbsp; Text2.Text = GetPDFfunction1(bPfad)<br>End Sub<br><br><br><span style="font-size:10px"><br /><br />Edited by Ingo - 16 Apr 20 at 3:05PM</span>]]>
   </description>
   <pubDate>Thu, 16 Apr 2020 15:05:12 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/ms-accessvb6-dll-version_topic3804_post15203.html#15203</guid>
  </item> 
  <item>
   <title><![CDATA[MS Access(vb6) &amp; DLL Version : I need to fill PDF form (SetFormFieldValueByTitle)...]]></title>
   <link>http://www.quickpdf.org/forum/ms-accessvb6-dll-version_topic3804_post15201.html#15201</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=3189">Howard</a><br /><strong>Subject:</strong> 3804<br /><strong>Posted:</strong> 16 Apr 20 at 1:37PM<br /><br /><div>I need to fill PDF form (SetFormFieldValueByTitle) from MS Access without any additional installation or library registration on the client. It should be possible with DLL version, but I didn't find any tutorial/sample for the DLL &amp; MS Access or vb6.</div><div>There is header file for vb6 in Trial Version (DebenuPDFLibraryDLL1312.bas), which should work for MS Access too. How to&nbsp;initiate the PDF Library? <br></div><div>I found a lot of info about QPF, but need to test the described functionality before buying the full version. Any DLL &amp; Access/vb6 sample will be welcome (found only vb.net in faq).<br></div><div><br></div><div>Thanks in advance!<br></div>]]>
   </description>
   <pubDate>Thu, 16 Apr 2020 13:37:20 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/ms-accessvb6-dll-version_topic3804_post15201.html#15201</guid>
  </item> 
 </channel>
</rss>