Do you own a Quick PDF Library 7 or iSEDQuickPDF license? Upgrade to Quick PDF Library 8 today!

Quick PDF Library

Getting Started: ActiveX Edition

After running the installer the QuickPDFAX0813.dll and QuickPDF64AX0813.dll files will be placed into the ActiveX folder, inside the main installation folder you chose during installation.

The default installation folder is C:\Program Files\Quick PDF Library\ActiveX\

Registering the 32-bit ActiveX DLL

Use the regsvr32 command to register Quick PDF Library ActiveX Edition. Open a command prompt with administrator priviledges and enter the command:

regsvr32 "C:\Program Files\Quick PDF Library\ActiveX\QuickPDFAX0813.dll"

Replace the path in the above command with the folder you chose during installation.

For 64-bit Windows, the regsvr32.exe in %systemroot%\SysWOW64\ should be used.

Registering the 64-bit ActiveX DLL

Use the regsvr32 command to register Quick PDF Library ActiveX Edition. Open a command prompt with administrator priviledges and enter the command:

regsvr32 "C:\Program Files\Quick PDF Library\ActiveX\QuickPDF64AX0813.dll"

Replace the path in the above command with the folder you chose during installation.

Class name

The class name of this release of Quick PDF Library ActiveX Edition is:
QuickPDFAX0813.PDFLibrary

The class name of this release of Quick PDF Library 64-bit ActiveX Edition is:
QuickPDF64AX0813.PDFLibrary

 

Instantiating the class

Use the CreateObject or equivalent function in your development environment to create the QuickPDFLibrary object.

The first function you should call is the UnlockKey function, passing it your license key.

Here is a Visual Basic example:

Private Sub CommandButton1_Click()
  Dim PDFLibrary As QuickPDFAX0813.PDFLibrary
  Set PDFLibrary = CreateObject("QuickPDFAX0813.PDFLibrary")
  If PDFLibrary.UnlockKey("your license key here") = 1 Then
    Call PDFLibrary.DrawText(100, 500, "Hello from Visual Basic")
    Call PDFLibrary.SaveToFile("C:\Docs\HelloFromVB.pdf")
  End If
  Set PDFLibrary = Nothing
End Sub

Unregistering the ActiveX DLL

Use the regsvr32 command to unregister Quick PDF Library ActiveX Edition if you wish to no longer use Quick PDF Library. On XP, click Start | Run and enter the command:

regsvr32 /u "C:\Program Files\Quick PDF Library\ActiveX\QuickPDFAX0813.dll"

Replace the path in the above command with the folder you chose during installation.

On Windows Vista/7 you need to open a command prompt with administrator priviledges in order to run the command.


© 2011 Debenu. All rights reserved. AboutBuyContactBlogNewsletterSupportFAQProduct UpdatesForum