Print Page | Close Window

didn't find the pdflibrary

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=1982
Printed Date: 07 May 24 at 6:33AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: didn't find the pdflibrary
Posted By: caaat
Subject: didn't find the pdflibrary
Date Posted: 30 Sep 11 at 12:08PM
i register the .dll file with this command:
regsvr32 "C:\Program Files\Quick PDF Library\ActiveX\QuickPDFAX0811.dll"
and i got a message: success

but if i open an asp-file, i get this error:

Microsoft VBScript runtime Fehler "800a01ad'

ActiveX component can't create object: 'QuickPDFAX0811.PDFLibrary'


anybody can help me????Cry





Replies:
Posted By: Rowan
Date Posted: 30 Sep 11 at 12:11PM
So you can successfully register the ActiveX on your machine using regsvr32 but when you try to call it from your VBScript code you get a run time error message?

Can you show us the full code that you're using to initiate the library?


Posted By: caaat
Date Posted: 30 Sep 11 at 12:35PM
<%
Dim QP
Set QP = Server.CreateObject("QuickPDFAX0811.PDFLibrary")
Call QP.UnlockKey("type your license key here")
Call QP.DrawText(100, 500, "Hello World!")
Call QP.SaveToFile(Server.MapPath("test.pdf"))
Set QP = Nothing
%>

now i got an new error:

Serverobjekt Fehler "ASP 0177 : 800401f3'

Server.CreateObject-Fehler

/highway/pdftest.asp, line 3




Posted By: caaat
Date Posted: 30 Sep 11 at 12:46PM
this asp-file is located on a server. i think i  must place the library in a directory where IIS has been setup with execute permission. then i register  the ActiveX library there. right?


Posted By: Rowan
Date Posted: 30 Sep 11 at 12:52PM
The ActiveX must be registered on the same machine as the ASP site and it must be in a location where it is able to execute, so it has permissions. The ActiveX needs read/write permissions to function properly.



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