Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - Reports are created but they are blank
  FAQ FAQ  Forum Search   Register Register  Login Login

Reports are created but they are blank

 Post Reply Post Reply
Author
Message
Deslyxia View Drop Down
Beginner
Beginner


Joined: 08 Feb 12
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote Deslyxia Quote  Post ReplyReply Direct Link To This Post Topic: Reports are created but they are blank
    Posted: 02 Oct 12 at 2:00AM
Good evening... I have been using Quick PDF for a while now but recently i had a client wipe his registry with some sort of registry cleaner... once he did he lost ability to use the quick pdf library... I reinstalled the dll using Regsvr32 which got rid of the program error....

Now the issue that i am stuck with is that when the "reports" save they are just a bunch of blank pages... I feel like i have had this error before and i feel like it had something to do with 32 bit dll vs a 64 bit dll and how/where they were registered.


Could someone verify ... or correct me if im wrong I believe i had most of the users of this particular software register the 32 bit dll ... then from the code (vb.net ) did something like the following.


Dim ClassName = "QuickPDFAX0814.PDFLibrary"
Dim QP
Dim Res

QP = CreateObject(ClassName)
Res = QP.UnlockKey(LicenseKey)



Do i need to modify the classname to QuickPDF64AX0814.PDFLibrary and register the 64 bit dll if im on a 64 bit os or can i use 32 bit period...

What are the proper steps when in both 32 bit environments and 64 bit environments ... and is that potentially what is leading to blank reports?

Thank you
Back to Top
AndrewC View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 08 Dec 10
Location: Geelong, Aust
Status: Offline
Points: 841
Post Options Post Options   Thanks (0) Thanks(0)   Quote AndrewC Quote  Post ReplyReply Direct Link To This Post Posted: 02 Oct 12 at 7:11AM
It depends on the Executable.  Is the project target platforms set to x86, x64 or AnyCPU.  The simplest option would be to force your EXE to compile to x86 and then you only need to register the QuickPDFAX0816.DLL file.  

If the program is running without an error and creating blank pages then it sounds like the DLL is registered correctly and the program is finding the ActiveX otherwise your wouldn't get blank pages.  The problem is more likely that the QP.UnlockKey is failing and returning 0.  Can you check the return value of QP.UnlockKey to make sure it is returning 1 correctly.

  if (QP.UnlockKey(LicenseKey) <> 1)
    MessageBox.Show("Quick PDF Library UnlockKey failed");

Andrew
Back to Top
Deslyxia View Drop Down
Beginner
Beginner


Joined: 08 Feb 12
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote Deslyxia Quote  Post ReplyReply Direct Link To This Post Posted: 02 Oct 12 at 7:41AM
Andrew ty for the response.. I looked over that stuff and found the following...

The EXE is being forced into x86 mode so I was using the non 64 bit dll... (i unregistered and reregistered it to double check)

I also already had something much like the If statement you suggested so i ran the debugger on it... it is definately returning 1...

The reports themselves ... still blank...
Back to Top
AndrewC View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 08 Dec 10
Location: Geelong, Aust
Status: Offline
Points: 841
Post Options Post Options   Thanks (0) Thanks(0)   Quote AndrewC Quote  Post ReplyReply Direct Link To This Post Posted: 02 Oct 12 at 1:42PM
We would need to see more of your code and input PDF files to see what could be causing the blank pages.

You may want to create an official support case at http://www.quickpdflibrary.com/support/support-query.php  to create an official support case if are concerned about privacy and don't want your PDF's shared.  

Andrew.
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3529
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 02 Oct 12 at 4:30PM
A userpassword (for opening) or security settings could be reasons, too.
Back to Top
Deslyxia View Drop Down
Beginner
Beginner


Joined: 08 Feb 12
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote Deslyxia Quote  Post ReplyReply Direct Link To This Post Posted: 02 Oct 12 at 9:29PM

Quote A userpassword (for opening) or security settings could be reasons, too.

 
I get what you are saying here ... but nothing in the coding of these functions has changed in months and the PDF reporting/printing/saving has been working this entire time.
 
The only thing that changed is that a registry 'cleaner' was run that seemingly removed the .dll so we tried to re register it.
 
Quote We would need to see more of your code and input PDF files to see what could be causing the blank pages.
 
I can post a sample of the function later this evening... but it is pretty basic... I have some .pdf templates.... I open them ... insert data into the form fields... and save.... At the end I merge all .pdfs in the temp directory and either print or save... But I will post the function in about an hour or so...
 
I would again like to point out that this code has been in production and is/has been working with the exception of this one user.
 
And I have opened a support ticket with Debenu ... I just have not heard anything back yet.
Back to Top
darkv View Drop Down
Team Player
Team Player
Avatar

Joined: 17 Jan 11
Status: Offline
Points: 38
Post Options Post Options   Thanks (0) Thanks(0)   Quote darkv Quote  Post ReplyReply Direct Link To This Post Posted: 03 Oct 12 at 12:04AM
I dont know if it helps, but from my own experience i got blank pdf files when templates were not found.
z Dark side is there ...
Back to Top
Deslyxia View Drop Down
Beginner
Beginner


Joined: 08 Feb 12
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote Deslyxia Quote  Post ReplyReply Direct Link To This Post Posted: 04 Oct 12 at 4:06AM
im debugging the code further and what im finding is that it seems to be creating single page reports fine ... but the merge is screwing up and leaving me with blank pages..
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store