Print Page | Close Window

New post from new user - rookie error probably

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=2626
Printed Date: 08 Feb 26 at 2:59AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: New post from new user - rookie error probably
Posted By: AndyD
Subject: New post from new user - rookie error probably
Date Posted: 30 Apr 13 at 10:59AM
I have followed all the installation steps, registering of activeX etc. Using VB6.
 
Even with the basic 'Hello' example, it is indicating that the unlock key is incorrect and does not produce anything. I have check everything many times including my key.
 
Any suggestions what I may be missing?
 
All help would be appreciated.



Replies:
Posted By: Ingo
Date Posted: 30 Apr 13 at 11:02AM
Hi Andy!
 
If you post your code here perhaps we've some suggestions ...
Without code i only can say "it could be everything" ;-)
 
Cheers and welcome here,
Ingo
 


Posted By: AndyD
Date Posted: 30 Apr 13 at 11:05AM

Obviously I have ommited the key itself for this post Smile

Private Sub btnHelloWorld_Click()

Dim PDFLibrary As QuickPDFAX0816.PDFLibrary

    Set PDFLibrary = CreateObject("QuickPDFAX0816.PDFlibrary")
   
    If PDFLibrary.UnlockKey("*****************") = 1 Then
        Call PDFLibrary.DrawText(100, 500, "Hello from Visual Basic")
        Call PDFLibrary.SaveToFile("C:\Users\andy.dines\Desktop\test\HelloFromVB.pdf")
    End If
   
    Set PDFLibrary = Nothing

End Sub




Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk