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!
![]() |
Reports are created but they are blank |
Post Reply ![]() |
Author | ||
Deslyxia ![]() Beginner ![]() Joined: 08 Feb 12 Status: Offline Points: 5 |
![]() ![]() ![]() ![]() ![]() 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.
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 |
||
![]() |
||
AndrewC ![]() Moderator Group ![]() ![]() Joined: 08 Dec 10 Location: Geelong, Aust Status: Offline Points: 841 |
![]() ![]() ![]() ![]() ![]() |
|
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
|
||
![]() |
||
Deslyxia ![]() Beginner ![]() Joined: 08 Feb 12 Status: Offline Points: 5 |
![]() ![]() ![]() ![]() ![]() |
|
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... |
||
![]() |
||
AndrewC ![]() Moderator Group ![]() ![]() Joined: 08 Dec 10 Location: Geelong, Aust Status: Offline Points: 841 |
![]() ![]() ![]() ![]() ![]() |
|
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.
|
||
![]() |
||
Ingo ![]() Moderator Group ![]() ![]() Joined: 29 Oct 05 Status: Offline Points: 3529 |
![]() ![]() ![]() ![]() ![]() |
|
A userpassword (for opening) or security settings could be reasons, too.
|
||
![]() |
||
Deslyxia ![]() Beginner ![]() Joined: 08 Feb 12 Status: Offline Points: 5 |
![]() ![]() ![]() ![]() ![]() |
|
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.
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.
|
||
![]() |
||
darkv ![]() Team Player ![]() ![]() Joined: 17 Jan 11 Status: Offline Points: 38 |
![]() ![]() ![]() ![]() ![]() |
|
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 ...
|
||
![]() |
||
Deslyxia ![]() Beginner ![]() Joined: 08 Feb 12 Status: Offline Points: 5 |
![]() ![]() ![]() ![]() ![]() |
|
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..
|
||
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store