<?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 : Cannot load ActiveX on start programm</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 : Cannot load ActiveX on start programm]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 01 May 2026 05:04:43 +0000</pubDate>
  <lastBuildDate>Sun, 18 Aug 2013 19:01:54 +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=2708</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[Cannot load ActiveX on start programm : Thanks All for the support.I made...]]></title>
   <link>http://www.quickpdf.org/forum/cannot-load-activex-on-start-programm_topic2708_post11107.html#11107</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2443">BASSIES</a><br /><strong>Subject:</strong> 2708<br /><strong>Posted:</strong> 18 Aug 13 at 7:01PM<br /><br />Thanks All for the support.<div><br></div><div>I made a mistake and put the dll in the wrong directory and not in the Bin directory where the Exe is.</div><div><br></div><div>This answer "&nbsp;<span style=": rgb251, 251, 253; line-height: 1.4;">the dll into the app-path where your program works"</span></div><div><span style=": rgb251, 251, 253; line-height: 1.4;"><br></span></div><div><span style=": rgb251, 251, 253; line-height: 1.4;"><br></span></div><div><span style=": rgb251, 251, 253; line-height: 1.4;">Works great now , thanks.</span></div>]]>
   </description>
   <pubDate>Sun, 18 Aug 2013 19:01:54 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/cannot-load-activex-on-start-programm_topic2708_post11107.html#11107</guid>
  </item> 
  <item>
   <title><![CDATA[Cannot load ActiveX on start programm : Hi!If you&amp;#039;re using the ActiveX-version...]]></title>
   <link>http://www.quickpdf.org/forum/cannot-load-activex-on-start-programm_topic2708_post11106.html#11106</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 2708<br /><strong>Posted:</strong> 18 Aug 13 at 2:26PM<br /><br />Hi!<div>If you're using the ActiveX-version you have to register. For this use regsvr32.exe it's in the system32 and syswow64 as well.</div><div>If you don't find the registered path/filename in the registry then it won't work.</div><div>If you're using the dll please keep in mind:</div><div>32 bit version into syswow64 / 64 bit version into system32 / or the dll into the app-path where your program works.</div><div>If you want your app work with 32 bit dll then don't compile your app with option "any cpu" but "x86".</div><div>If there are still problems:</div><div>Work in your program with FULL path and filename and try again.</div><div><br></div><div>Cheers, Ingo</div><div><br></div><div><br></div><span style="font-size:10px"><br /><br />Edited by Ingo - 18 Aug 13 at 2:26PM</span>]]>
   </description>
   <pubDate>Sun, 18 Aug 2013 14:26:07 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/cannot-load-activex-on-start-programm_topic2708_post11106.html#11106</guid>
  </item> 
  <item>
   <title><![CDATA[Cannot load ActiveX on start programm : When i push print the error is...]]></title>
   <link>http://www.quickpdf.org/forum/cannot-load-activex-on-start-programm_topic2708_post11105.html#11105</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2443">BASSIES</a><br /><strong>Subject:</strong> 2708<br /><strong>Posted:</strong> 18 Aug 13 at 11:09AM<br /><br />When i push print the error is :<div><br></div><div><br></div><div>System.NullReferenceException was unhandled</div><div><br></div><div>Object reference not set to an instance of an object</div><div><br></div><div>on this line</div><div>Dim docID As Integer = QP.LoadFromFile(fileName, "")</div><div><br></div><div><br></div><div>I think what it means that the file is not there ??? &nbsp;, but it is there</div>]]>
   </description>
   <pubDate>Sun, 18 Aug 2013 11:09:50 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/cannot-load-activex-on-start-programm_topic2708_post11105.html#11105</guid>
  </item> 
  <item>
   <title><![CDATA[Cannot load ActiveX on start programm : Wheeley,I start again with a new...]]></title>
   <link>http://www.quickpdf.org/forum/cannot-load-activex-on-start-programm_topic2708_post11104.html#11104</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2443">BASSIES</a><br /><strong>Subject:</strong> 2708<br /><strong>Posted:</strong> 18 Aug 13 at 10:55AM<br /><br />Wheeley,<div><br></div><div>I start again with a new one.</div><div><br></div><div>Dowloaded the example for DLL from the site.</div><div>Added the 2 dll file's to the dir and import the&nbsp;DebenuPDFLibraryDLL0915.vb from to the project in vb2010&nbsp;</div><div><br></div><div>With add new item , the to the dir imports , vb.net.</div><div><br></div><div>Ok no more errors .</div><div><br></div><div>When 1 put the serial nummer in en run&nbsp;</div><div><br></div><div>the error is :&nbsp;Invalid license key: Have you included your license key?&nbsp;</div><div><br></div><div>so it returns 0 en the programm start but won't work &nbsp;but this step i can't get it to work</div><div><br></div><div>Do</div><div><br></div><div>The code is :</div><div><div>Imports visual_basic_dll_sample.DebenuPDFLibraryDLL0915 ' The DebenuPDFLibraryDLL0915.vb import file must be added to the project</div><div><br></div><div>Public Class Form1</div><div><br></div><div>&nbsp; &nbsp; Dim QP As PDFLibrary</div><div><br></div><div>&nbsp; &nbsp; Dim LicenseKey = "j69ke7sf8uz6f83co7sk68j4y" ' Insert your trial or commercial license key here</div><div><br></div><div>&nbsp; &nbsp; Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load</div><div>&nbsp; &nbsp; &nbsp; &nbsp; QP = New PDFLibrary("DebenuPDFLibraryDLL0915.dll")</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; If QP.UnlockKey(LicenseKey) = 0 Then</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MsgBox("- Invalid license key: Have you included your license key? -")</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; QP = Nothing</div><div>&nbsp; &nbsp; &nbsp; &nbsp; End If</div><div>&nbsp; &nbsp; End Sub</div><div>&nbsp; &nbsp; Private Sub btnDrawText_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnDrawText.Click</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' This function draws text onto a document</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Setup the parameters</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim fileName As String = "..\..\Test Files\drawText.pdf"</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Set origin co-ordinates to top left of page</div><div>&nbsp; &nbsp; &nbsp; &nbsp; QP.SetOrigin(1)</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Call the DrawText function</div><div>&nbsp; &nbsp; &nbsp; &nbsp; QP.DrawText(100, 100, "Hello world from Visual Basic .NET and the DLL edition of Quick PDF Library")</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Save the changes to the document on the local disk (in the debug folder)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; QP.SaveToFile(fileName)</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Open PDF automatically</div><div>&nbsp; &nbsp; &nbsp; &nbsp; System.Diagnostics.Process.Start(fileName)</div><div>&nbsp; &nbsp; End Sub</div><div><br></div><div>&nbsp; &nbsp; Private Sub btnDrawHTMLText_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnDrawHTMLText.Click</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' This function draws text using HTML tags onto a document</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Setup the parameters</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim fileName As String = "..\..\Test Files\drawHTMLText.pdf"</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Create a new document in memory with one blank page</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim docID As Integer = QP.NewDocument()</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Call the DrawHTMLText function and specify the necessary settings.</div><div>&nbsp; &nbsp; &nbsp; &nbsp; QP.DrawHTMLText(40, 760, 200, "Here is some &lt;b&gt;bold&lt;/b&gt;, &lt;i&gt;italic&lt;/i&gt; and &lt;u&gt;underlined&lt;/u&gt; text")</div><div>&nbsp; &nbsp; &nbsp; &nbsp; QP.DrawHTMLText(40, 730, 200, "&lt;ul&gt;&lt;li&gt;This&lt;/li&gt;&lt;li&gt;is&lt;/li&gt;&lt;li&gt;a&lt;/li&gt;&lt;li&gt;bullet&lt;/li&gt;&lt;li&gt;list&lt;/li&gt;&lt;/ul&gt;")</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Save the changes to the document on the local disk (in the debug folder)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; QP.SaveToFile(fileName)</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Remove document from memory</div><div>&nbsp; &nbsp; &nbsp; &nbsp; QP.RemoveDocument(docID)</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Open PDF automatically</div><div>&nbsp; &nbsp; &nbsp; &nbsp; System.Diagnostics.Process.Start(fileName)</div><div>&nbsp; &nbsp; End Sub</div><div><br></div><div>&nbsp; &nbsp; Private Sub btnGetPageText_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnGetPageText.Click</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' This function extracts text from a page in a document</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Setup the parameters</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim fileName As String = "C:\VT\Pomp11.pdf"</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Create a new document in memory with one blank page</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim docID As Integer = QP.NewDocument()</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Load the document that you want to extract text from into memory</div><div>&nbsp; &nbsp; &nbsp; &nbsp; QP.LoadFromFile(fileName, "")</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Select the page that you want to extract text from (first page in&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' a document is always 1)</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; QP.SelectPage(1)</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Specify the variable that the text should be added to and call</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' the GetPageText function (with the appropriate option selected)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim pageText As String = QP.GetPageText(1)</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Display the extracted text in a message box</div><div>&nbsp; &nbsp; &nbsp; &nbsp; MessageBox.Show(pageText)</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Remove document from memory</div><div>&nbsp; &nbsp; &nbsp; &nbsp; QP.RemoveDocument(docID)</div><div>&nbsp; &nbsp; End Sub</div><div><br></div><div>&nbsp; &nbsp; Private Sub btnExtractPages_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnExtractPages.Click</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' This function extracts pages from a document</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Setup the parameters</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim fileName As String = "C:\VT\Pomp11.pdf.pdf"</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim StartPage As Integer = 1</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim PageCount As Integer = 1</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim OutputFile As String = "C:\VT\Pomp111.pdf"</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Load the document that you want to extract text from into memory</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim docID As Integer = QP.LoadFromFile(fileName, "")</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' The ExtractPages requires two paramters. The first paramter</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' tells the library where to start extracting pages from and</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' the second paramter tells the library how many pages from the</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' starting point should be extracted.</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim extractPageSuccess As Integer = QP.ExtractPages(StartPage, PageCount)</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' You can find out if the extraction process was successfull by&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' checking the returned value of the ExtractPages function. If&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' it returns 0 then it means the page(s) could not be extracted,&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' other wise it will return a new document ID.</div><div>&nbsp; &nbsp; &nbsp; &nbsp; If extractPageSuccess = 0 Then</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MessageBox.Show("Page(s) could not be extracted.")</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Else</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MessageBox.Show("Page(s) successfully extracted.")</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ' First check to see if the extraction process worked</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ' and if it did, then save the results to a new file.</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; QP.SaveToFile(OutputFile)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; System.Diagnostics.Process.Start(OutputFile)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; End If</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Remove document from memory</div><div>&nbsp; &nbsp; &nbsp; &nbsp; QP.RemoveDocument(docID)</div><div>&nbsp; &nbsp; End Sub</div><div><br></div><div>&nbsp; &nbsp; Private Sub btnPrintDocument_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnPrintDocument.Click</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' This function prints a document</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Setup general parameters</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim fileName As String = "C:\VT\Pomp11.pdf.pdf"</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Load the document that you want to print into memory</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim docID As Integer = QP.LoadFromFile(fileName, "")</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Set the paramters for the PrintDocument function</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim PrinterName As String = QP.GetDefaultPrinterName()</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim StartPage As Integer = 1</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Set first page number</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim EndPage As Integer = QP.PageCount()</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Set last page number</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Set the paramters for the PrintOptions function</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim PageScaling As Integer = 0</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim AutoRotateCenter As Integer = 0</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim Title As String = fileName</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Assign the options for printing to an int variable</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim Options As Integer = QP.PrintOptions(PageScaling, AutoRotateCenter, Title)</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Print the document with the required paramters and options specified</div><div>&nbsp; &nbsp; &nbsp; &nbsp; QP.PrintDocument(PrinterName, StartPage, EndPage, Options)</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Remove document from memory</div><div>&nbsp; &nbsp; &nbsp; &nbsp; QP.RemoveDocument(docID)</div><div>&nbsp; &nbsp; End Sub</div><div><br></div><div>&nbsp; &nbsp; Private Sub btnGetPrinterNames_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnGetPrinterNames.Click</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' This function retrieves a list of all the local printers</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Setup general parameters</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Assign all &nbsp;of the printers to a string variable</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim printers As String = QP.GetPrinterNames()</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Display the printer names in a message box</div><div>&nbsp; &nbsp; &nbsp; &nbsp; MessageBox.Show(printers)</div><div>&nbsp; &nbsp; End Sub</div><div><br></div><div>&nbsp; &nbsp; Private Sub btnDARenderPageToString_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnDARenderPageToVariant.Click</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' This function renders a page in a PDF to a variant which can be used</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' to display the PDF in a window</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Setup general parameters</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim fileName As String = "C:\VT\Pomp11.pdf"</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim password As String = ""</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim pageNumber As Integer = 1</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Open the file, get a file handle</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim fileHandle As Integer = QP.DAOpenFile(fileName, password)</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Get a reference to the first page</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim pageReference As Integer = QP.DAFindPage(fileHandle, pageNumber)</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Height and width in points (1/72 inch)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim pageHeight As Double = QP.DAGetPageHeight(fileHandle, pageReference)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim pageWidth As Double = QP.DAGetPageWidth(fileHandle, pageReference)</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Work out the smallest DPI needed to fit the entire</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' page into the PictureBox</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim horizontalDPI As Integer = Convert.ToInt32((PictureBox1.Width / pageHeight) * 72)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim verticalDPI As Integer = Convert.ToInt32((PictureBox1.Height / pageHeight) * 72)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim smallestDPI As Integer</div><div>&nbsp; &nbsp; &nbsp; &nbsp; If horizontalDPI &lt; verticalDPI Then</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; smallestDPI = horizontalDPI</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Else</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; smallestDPI = verticalDPI</div><div>&nbsp; &nbsp; &nbsp; &nbsp; End If</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Render the page to BMP format into the byte array</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim bitmapData = QP.DARenderPageToString(fileHandle, pageReference, 0, smallestDPI)</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Put the byte array into a stream</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim stream As New System.IO.MemoryStream(bitmapData)</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Create a new Image from the stream</div><div>&nbsp; &nbsp; &nbsp; &nbsp; PictureBox1.Image = Image.FromStream(stream)</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Close the file</div><div>&nbsp; &nbsp; &nbsp; &nbsp; QP.DACloseFile(fileHandle)</div><div>&nbsp; &nbsp; End Sub</div><div><br></div><div>&nbsp; &nbsp; Private Sub btnNewOptionalContentGroup_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnNewOptionalContentGroup.Click</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' This function creates a new Optional Content Group (known as a Layer in Acrobat)</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Setup general parameters</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim OutputFileName As String = "C:\VT\Pomp11.pdf"</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Load the document that you want to print into memory</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim docID As Integer = QP.NewDocument()</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Create the new Optional Content Group and assign it a name</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim OCG1 As Integer = QP.NewOptionalContentGroup("OCG 1")</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim ContentStream As Integer = QP.NewContentStream()</div><div>&nbsp; &nbsp; &nbsp; &nbsp; QP.SelectContentStream(ContentStream)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; QP.DrawText(100, 750, "This text belongs to OCG1")</div><div>&nbsp; &nbsp; &nbsp; &nbsp; QP.SetContentStreamOptional(OCG1)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; QP.SetOptionalContentGroupVisible(OCG1, 1)</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Save the new OCG to the specified file on the local disk</div><div>&nbsp; &nbsp; &nbsp; &nbsp; QP.SaveToFile(OutputFileName)</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Remove document from memory</div><div>&nbsp; &nbsp; &nbsp; &nbsp; QP.RemoveDocument(docID)</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; System.Diagnostics.Process.Start(OutputFileName)</div><div>&nbsp; &nbsp; End Sub</div><div><br></div><div>&nbsp; &nbsp; Private Sub btnOptionalContentGroupCount_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnOptionalContentGroupCount.Click</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' This function counts the number of Optional Content Groups (aka Layers) in a document</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Setup general parameters</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim FileName As String = "C:\VT\Pomp11.pdf"</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Load the document that you want to print into memory</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' and assign the Document ID to an int variable</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim docID As Integer = QP.LoadFromFile(FileName, "")</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Select the document using the Document ID</div><div>&nbsp; &nbsp; &nbsp; &nbsp; QP.SelectDocument(docID)</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Initiate the OptionalContentGroupCount function</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' and assign the returned value to an int variable</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim OCGs As Integer = QP.OptionalContentGroupCount()</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Convert the int value to a string</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim CountOCGs As String = Convert.ToString(OCGs)</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Display the number of OCGs from the file in the message box</div><div>&nbsp; &nbsp; &nbsp; &nbsp; MessageBox.Show(CountOCGs)</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Remove document from memory</div><div>&nbsp; &nbsp; &nbsp; &nbsp; QP.RemoveDocument(docID)</div><div>&nbsp; &nbsp; End Sub</div><div><br></div><div>&nbsp; &nbsp; Private Sub btnNewOutline_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnNewOutline.Click</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' This function creates a new outline (aka bookmark) in a document</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Setup general parameters</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim InputFileName As String = "C:\VT\Pomp11.pdf"</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim OutputFileName As String = "..\..\Test Files\NewOutline.pdf"</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Load the document into memory</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim docID As Integer = QP.LoadFromFile(InputFileName, "")</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Get the page height value for the position paramter in the NewOutline function</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim pageHeight As Double = QP.PageHeight()</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Initiate the NewOutline function and set paramters</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim nOutline As Integer = QP.NewOutline(0, "New Bookmark", 1, pageHeight)</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Check the value returned from the NewOutline function to see</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' if it was successful.</div><div>&nbsp; &nbsp; &nbsp; &nbsp; If nOutline = 0 Then</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MessageBox.Show("Sorry, the bookmark could not be added.")</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Else</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ' Save the new outline to the document.</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; QP.SaveToFile(OutputFileName)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; System.Diagnostics.Process.Start(OutputFileName)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; End If</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Remove document from memory</div><div>&nbsp; &nbsp; &nbsp; &nbsp; QP.RemoveDocument(docID)</div><div>&nbsp; &nbsp; End Sub</div><div><br></div><div>&nbsp; &nbsp; Private Sub btnOutlineCount_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnOutlineCount.Click</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' This function counts the number of outlines (aka bookmarks) in a document</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Setup general parameters</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim FileName As String = "C:\VT\Pomp11.pdf"</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Load the document into memory</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim docID As Integer = QP.LoadFromFile(FileName, "")</div><div>&nbsp; &nbsp; &nbsp; &nbsp; QP.SelectDocument(docID)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim numberOfOutlines As Integer = QP.OutlineCount()</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim Outlines As String = Convert.ToString(numberOfOutlines)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; MessageBox.Show(Outlines)</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Remove document from memory</div><div>&nbsp; &nbsp; &nbsp; &nbsp; QP.RemoveDocument(docID)</div><div>&nbsp; &nbsp; End Sub</div><div><br></div><div>&nbsp; &nbsp; Private Sub btnMergeDocument_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnMergeDocument.Click</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' This function merges two documents together</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Setup general parameters</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim firstDoc As String = "..\..\Test Files\sample1.pdf"</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim secondDoc As String = "..\..\Test Files\sample2.pdf"</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim DestFileName As String = "..\..\Test Files\merged_samples.pdf"</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Load the document into memory</div><div>&nbsp; &nbsp; &nbsp; &nbsp; QP.LoadFromFile(firstDoc, "")</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim MainDoc As Integer = QP.SelectedDocument()</div><div>&nbsp; &nbsp; &nbsp; &nbsp; QP.LoadFromFile(secondDoc, "")</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim Append As Integer = QP.SelectedDocument()</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; QP.SelectDocument(MainDoc)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; QP.MergeDocument(Append)</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; QP.SaveToFile(DestFileName)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; System.Diagnostics.Process.Start(DestFileName)</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Remove document from memory</div><div>&nbsp; &nbsp; &nbsp; &nbsp; QP.RemoveDocument(MainDoc)</div><div>&nbsp; &nbsp; End Sub</div><div><br></div><div>&nbsp; &nbsp; Private Sub btnMergeFileList_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnMergeFileList.Click</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' This function merges a list of documents together</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Setup general parameters</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim ListName As String = "..\..\Test Files\Sample"</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim firstFile As String = "..\..\Test Files\sample1.pdf"</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim secondFile As String = "..\..\Test Files\sample2.pdf"</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim OutputFile As String = "..\..\Test Files\MergeFileListSample.pdf"</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Add the first file to the file list</div><div>&nbsp; &nbsp; &nbsp; &nbsp; QP.AddToFileList(ListName, firstFile)</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Add the second file to the file list</div><div>&nbsp; &nbsp; &nbsp; &nbsp; QP.AddToFileList(ListName, secondFile)</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Merge all files in the file list and output a new file</div><div>&nbsp; &nbsp; &nbsp; &nbsp; QP.MergeFileList(ListName, OutputFile)</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; System.Diagnostics.Process.Start(OutputFile)</div><div>&nbsp; &nbsp; End Sub</div><div><br></div><div>&nbsp; &nbsp; Private Sub btnGetInformation_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnGetInformation.Click</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' This function retrieves document information</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Setup general parameters</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim FileName As String = "C:\VT\Pomp11.pdf"</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Load and select document</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim DocumentID As Integer = QP.LoadFromFile(FileName, "")</div><div>&nbsp; &nbsp; &nbsp; &nbsp; QP.SelectDocument(DocumentID)</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Retrieve information from document</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim PDFversion As String = QP.GetInformation(0)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim Author As String = QP.GetInformation(1)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim Title As String = QP.GetInformation(2)</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Display retrieved information</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim infoArray As String() = {PDFversion, Author, Title}</div><div>&nbsp; &nbsp; &nbsp; &nbsp; For Each info As String In infoArray</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MessageBox.Show(info)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Next</div><div>&nbsp; &nbsp; End Sub</div><div><br></div><div>&nbsp; &nbsp; Private Sub btnFindImages_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnFindImages.Click</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' This function counts the number of images in a document</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Setup general parameters</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim FileName As String = "..\..\Test Files\sample3.pdf"</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Load and select document</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim DocumentID As Integer = QP.LoadFromFile(FileName, "")</div><div>&nbsp; &nbsp; &nbsp; &nbsp; QP.SelectDocument(DocumentID)</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Find all images in selected document</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim images As Integer = QP.FindImages()</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Show number of images found in documents</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim numberOfImages As String = Convert.ToString(images)</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; MessageBox.Show(numberOfImages)</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ' Remove the document from memory</div><div>&nbsp; &nbsp; &nbsp; &nbsp; QP.RemoveDocument(DocumentID)</div><div>&nbsp; &nbsp; End Sub</div><div>End Class</div></div><div><br></div>]]>
   </description>
   <pubDate>Sun, 18 Aug 2013 10:55:20 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/cannot-load-activex-on-start-programm_topic2708_post11104.html#11104</guid>
  </item> 
  <item>
   <title><![CDATA[Cannot load ActiveX on start programm : What do you mean by &amp;#034;can&amp;#039;t...]]></title>
   <link>http://www.quickpdf.org/forum/cannot-load-activex-on-start-programm_topic2708_post11102.html#11102</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=121">Wheeley</a><br /><strong>Subject:</strong> 2708<br /><strong>Posted:</strong> 18 Aug 13 at 12:32AM<br /><br />What do you mean by "can't get the printing to work"? What's the return code from the function? What version of QuickPDF are you using?<br><br>Wheeley<br>]]>
   </description>
   <pubDate>Sun, 18 Aug 2013 00:32:15 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/cannot-load-activex-on-start-programm_topic2708_post11102.html#11102</guid>
  </item> 
  <item>
   <title><![CDATA[Cannot load ActiveX on start programm : On the other pc&amp;#039;s i don&amp;#039;t...]]></title>
   <link>http://www.quickpdf.org/forum/cannot-load-activex-on-start-programm_topic2708_post11101.html#11101</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2443">BASSIES</a><br /><strong>Subject:</strong> 2708<br /><strong>Posted:</strong> 17 Aug 13 at 8:38PM<br /><br />On the other pc's i don't have adminstator so ActiveX is not going to work<div><br></div><div>I can't install anything on the other pc's.</div><div><br></div><div>But Printing with the Dll is a problem , can't get it to work&nbsp;<img src="http://www.quickpdf.org/forum/smileys/smiley19.gif" border="0" alt="Cry" title="Cry" /></div><div><br></div><div>Problem with activating the DLL , with the trail code !</div><div><br></div><div><br></div>]]>
   </description>
   <pubDate>Sat, 17 Aug 2013 20:38:14 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/cannot-load-activex-on-start-programm_topic2708_post11101.html#11101</guid>
  </item> 
  <item>
   <title><![CDATA[Cannot load ActiveX on start programm : Hi,  BASSIES wrote:I made a small...]]></title>
   <link>http://www.quickpdf.org/forum/cannot-load-activex-on-start-programm_topic2708_post11100.html#11100</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2444">Mike_R</a><br /><strong>Subject:</strong> 2708<br /><strong>Posted:</strong> 17 Aug 13 at 7:29PM<br /><br /><p>Hi,</p><p><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by BASSIES" alt="Originally posted by BASSIES" style="vertical-align: text-bottom;" /> <strong>BASSIES wrote:</strong><br /><br />I made a small program to print a pdf , but on a another pc it is not working ?</td></tr></table></p><p>The point is you must register an ActiveX on a machine before using it.</p><p>But you may have issues with it, because it's impossible to write to the registry under usual (non admin) user.</p><p>I would suggest to either use a DLL form, or virtualize the ActiveX using e.g. <a href="http://boxedapp.com/boxedappsdk/" target="_blank" rel="nofollow">boxedapp</a>.</p><p>Hope this helps.</p>]]>
   </description>
   <pubDate>Sat, 17 Aug 2013 19:29:15 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/cannot-load-activex-on-start-programm_topic2708_post11100.html#11100</guid>
  </item> 
  <item>
   <title><![CDATA[Cannot load ActiveX on start programm : Thanks Wheely for the answer.But...]]></title>
   <link>http://www.quickpdf.org/forum/cannot-load-activex-on-start-programm_topic2708_post11099.html#11099</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2443">BASSIES</a><br /><strong>Subject:</strong> 2708<br /><strong>Posted:</strong> 17 Aug 13 at 1:20PM<br /><br />Thanks Wheely for the answer.<div><br></div><div>But the problem is , i cannot get it to work</div><div><br></div><div>To activate de DLL libary en print a pdf.</div><div><br></div><div>Do You have a example how to activate the DLL with my serial nr ?</div>]]>
   </description>
   <pubDate>Sat, 17 Aug 2013 13:20:42 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/cannot-load-activex-on-start-programm_topic2708_post11099.html#11099</guid>
  </item> 
  <item>
   <title><![CDATA[Cannot load ActiveX on start programm : You have to register the ActiveX...]]></title>
   <link>http://www.quickpdf.org/forum/cannot-load-activex-on-start-programm_topic2708_post11098.html#11098</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=121">Wheeley</a><br /><strong>Subject:</strong> 2708<br /><strong>Posted:</strong> 16 Aug 13 at 9:53PM<br /><br />You have to register the ActiveX on <b>every</b> computer you intend to use it on (meaning your program runs on). That's one reason to try using just the plain DLL instead.<br><br>Wheeley<br>]]>
   </description>
   <pubDate>Fri, 16 Aug 2013 21:53:37 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/cannot-load-activex-on-start-programm_topic2708_post11098.html#11098</guid>
  </item> 
  <item>
   <title><![CDATA[Cannot load ActiveX on start programm : Private Sub Form1_Load(ByVal sender...]]></title>
   <link>http://www.quickpdf.org/forum/cannot-load-activex-on-start-programm_topic2708_post11097.html#11097</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2443">BASSIES</a><br /><strong>Subject:</strong> 2708<br /><strong>Posted:</strong> 16 Aug 13 at 8:10AM<br /><br /><br><div><br></div><div><div style=": rgb251, 251, 253;">&nbsp;Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; &nbsp; &nbsp; QP = CreateObject(ClassName)</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; &nbsp; &nbsp; If QP.UnlockKey(LicenseKey) = 0 Then</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MsgBox("- Invalid license key: Have you included your license key? -")</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; QP = Nothing</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; &nbsp; &nbsp; End If</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; End Sub</div></div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;"><span style=": rgb255, 255, 255;">When i remove this from the code , en push the button to print&nbsp;</span></div><div style=": rgb251, 251, 253;">there is a error with the answer = 1&nbsp;</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">Do i make the dll active on every <b>new</b> pc with cmd ??????&nbsp;</div>]]>
   </description>
   <pubDate>Fri, 16 Aug 2013 08:10:42 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/cannot-load-activex-on-start-programm_topic2708_post11097.html#11097</guid>
  </item> 
 </channel>
</rss>