Print Page | Close Window

Registered control not showing up in application

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=1967
Printed Date: 08 Feb 26 at 2:59AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Registered control not showing up in application
Posted By: rickyq
Subject: Registered control not showing up in application
Date Posted: 21 Sep 11 at 9:31PM
Hello there, im new to this so be gentle.
 
I downloaded the trial, installed, and registered per the quick start guide.
 
however, the control does not show up as "intalled controls" in my applications. (third party)
 
i downloaded a utility online that shows the available registered activex controls installed on a windows xp machine and its not on there either.
 
so far it's useless.
 
am i doing something wrong here?
 
help!
 
just as background info: i am evaluating 4 or 5 diffrerent pdf controls and so far this is the only one that is giving me this headache. as soon as i did my regsvr32 all of the other controls show up on both lists.
 



Replies:
Posted By: rickyq
Date Posted: 21 Sep 11 at 9:39PM
more background i forgot: this is running on a windows xp pro 32 bit machine.


Posted By: Ingo
Date Posted: 21 Sep 11 at 9:46PM
Hi Rick!

There are three versions out there:
Delphi-components, ActiveX and normal dll.
Perhaps you tried the normal dll-version?

Cheers, Ingo
 


Posted By: rickyq
Date Posted: 21 Sep 11 at 9:57PM
i downloaded a demo version that included all of that stuff above.
 
"quick_pdf_library.exe"
 
the Dll im registering is inside the ActiveX folder that the installer created and it matches with the first steps to register the control in the quick start guide.


Posted By: Ingo
Date Posted: 21 Sep 11 at 10:16PM
Hi Rick!

This here is only the user-user-forum...
Perhaps you should have a look on the official support pages, too:
http://www.quickpdflibrary.com/faq/index.php
BTW: QuickPDF will be all efforts worth ;-)

Cheers and welcome here,
Ingo



Posted By: rickyq
Date Posted: 21 Sep 11 at 10:48PM
Thanks, i will check it out...
 
maybe i need an .ocx with this as well?
 
 


Posted By: Rowan
Date Posted: 22 Sep 11 at 7:28AM
The ActiveX for Quick PDF Library does not show up as an installed control, that is correct. It is not designed to. Quick PDF Library does not provide a visual control, rather it exposes a class that you can use to build your PDF apps.

So once you've registered the Quick PDF ActiveX, then (presuming you are using Visual Studio) go to Project > Add References > COM and add Quick PDF Library as a reference. Then you can initiate the Quick PDF Library class like this (first two lines are key):

QuickPDFAX0811.PDFLibrary QP = new QuickPDFAX0811.PDFLibrary(); 
int result = QP.UnlockKey("your_license_key"); 

if (result == 1)
{
   QP.SetOrigin(1);
   QP.DrawText(100, 100, "Hello world from C#"); 

   QP.DrawText(300, 100, "http://www.quickpdflibrary.com/");
   QP.AddLinkToWeb(290, 85, 190, 20, "http://www.quickpdflibrary.com/", 1); 

   QP.SaveToFile("HelloCSharpWorld.pdf");
}
else
{
   MessageBox.Show("Sorry, but the license key you provided could not be validated.");
}


Posted By: rickyq
Date Posted: 22 Sep 11 at 3:41PM
Thank you so much. this answers my question.



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