mrknapp
asked on
ASP.NET - Creating an AcroExch.PDDOC object returns an Active X error
Hi folks -
I'm a pretty basic ASP.NET programmer and use a text editor to create applications, not Visual Studio.NET.
I'm trying to create an AcroExch.PDDOC object and am getting the "Cannot Create ActiveX Component" error.
I've got Acrobat 5.0 installed, as well as the 5.0 SDK. I used "Tblimp.exe" to create "Acrobat.dll" from the "Acrobat.tlb" in the SDK. I moved the "Acrobat.dll" to the "bin" directory of the ASP.NET application.
Code reads:
<%@ Import Namespace="System.IO" %>
<%@ Import Namespace="ACROBAT" %>
<%@ Assembly Name="ACROBAT" %>
<%@ Page Language="VB" Debug="true" %>
Dim pdfDoc As Object
pdfDoc = CreateObject("AcroExch.PDD oc")
Any advice is much appreciated!
Mike Knapp
I'm a pretty basic ASP.NET programmer and use a text editor to create applications, not Visual Studio.NET.
I'm trying to create an AcroExch.PDDOC object and am getting the "Cannot Create ActiveX Component" error.
I've got Acrobat 5.0 installed, as well as the 5.0 SDK. I used "Tblimp.exe" to create "Acrobat.dll" from the "Acrobat.tlb" in the SDK. I moved the "Acrobat.dll" to the "bin" directory of the ASP.NET application.
Code reads:
<%@ Import Namespace="System.IO" %>
<%@ Import Namespace="ACROBAT" %>
<%@ Assembly Name="ACROBAT" %>
<%@ Page Language="VB" Debug="true" %>
Dim pdfDoc As Object
pdfDoc = CreateObject("AcroExch.PDD
Any advice is much appreciated!
Mike Knapp
ASKER
Thanks for the feedback.
I'm looking for two pieces of information from the PDF file: the number of pages in the document & an extraction of an executive summary in the report. We have 1700+ reports.
That's about it.
I suppose the ultimate might be to have that information stored in an XML document, but I'd be happy with anything.
I'm looking for two pieces of information from the PDF file: the number of pages in the document & an extraction of an executive summary in the report. We have 1700+ reports.
That's about it.
I suppose the ultimate might be to have that information stored in an XML document, but I'd be happy with anything.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
BTW: Acrobat would also not help you with the second part, so you are not missing out on any features that you would have access to only with Acrobat.
Thanks. This was easy :-)
I noticed that this was your first question on EE. Let me welcome you to the site. I hope you get the response you've expected from this site.
Have fun, and thanks again for the quick turnaround.
I noticed that this was your first question on EE. Let me welcome you to the site. I hope you get the response you've expected from this site.
Have fun, and thanks again for the quick turnaround.
ASKER
Great, thanks for the information.
What do you want to do with the PDF file? I may be able to give you some pointers about possible 3rd party products.