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 - Setting up Web Dev 2012 Express
  FAQ FAQ  Forum Search   Register Register  Login Login

Setting up Web Dev 2012 Express

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


Joined: 06 Oct 12
Location: Florida
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote RLT Quote  Post ReplyReply Direct Link To This Post Topic: Setting up Web Dev 2012 Express
    Posted: 06 Oct 12 at 7:35PM

I’ve been using QuickPDF within Delphi for a few years.   Now trying to use it in our web site.  My problem is accessing the libraries in my development tools.  As an aside, adding libraries always seem to be my biggest problem as they seen to install in so many different ways.

 

Using Microsoft Web Developer 2010 express.

Using QuickPDF 8.16

Incorporating into a web site using .Net 4.0 in  C#

Machine is running  32-bit Window 2003 Server.

 

What I did...  (which doesn’t work) is similar to the way I added MS Word:

·         Used regsvr32 to install the QuickPDFAX0816.dlll

·         Within Web developer Express:

·         Select : “Add Reference…”  to my project

·         Select the COM Tab

·         Select: Quick PDF Library 8.16

·         Get the error:   “A reference to ‘Quick PDF Library 8.16’ could not be added. Converting the type library to a .NET assembly failed.  No process is associated with this object.”

 

What am I doing wrong?

 

Perhaps I don’t need to do any setup at all and just need to use the correct “Using” statement.   Which  brings up the last question which is:

       “What is the ‘Using’  statement is should use?”

 

 

Back to Top
RLT View Drop Down
Beginner
Beginner


Joined: 06 Oct 12
Location: Florida
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote RLT Quote  Post ReplyReply Direct Link To This Post Posted: 06 Oct 12 at 9:08PM
Correction on the Subject.  It is Web Developer 2010 Express as is mentioned in the body.   My apologies.
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: 07 Oct 12 at 1:12AM
QuickPDFAX0816.dll is not a .NET based DLL/ActiveX but is a pure Windows DLL (Win32).  

I don't have Web Developer 2010 Express experience but since it is .NET based then it should be a similar process to that of adding the ActiveX to a C# project.

The QuickPDFAX0816.cs file loads and initialises the DLL for you in theory all you need to do is add the QuickPDFAX0816.cs file to your project as an existing item.

using QuickPDFAX0816;   // The Using statement.
..
..
        private void button1_Click(object sender, EventArgs e)
        {
            PDFLibrary QP = new PDFLibrary();
            int ret = QP.LoadFromFile("pages.pdf", "");
            QP.SaveToFile("out.pdf");
...


Back to Top
RLT View Drop Down
Beginner
Beginner


Joined: 06 Oct 12
Location: Florida
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote RLT Quote  Post ReplyReply Direct Link To This Post Posted: 07 Oct 12 at 3:12PM
Thanks!  That's what I needed.   I wondered what that file was for.   It's obvious after you know it!
 
In addition,  the file needs to be in the App_Code folder of the web project.
 
MANY THANKS.
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