Hi,
I am using Acrobat 6.0. I am trying to save an Access report to a PDF
file using the Acrobat Distiller but came across an error message
“ActiveX component cannot create object –429”. I have tried all sorts of
things based on information that I got but not able to get rid of the
same.
The code that I use is:
Dim ObjPDF as PDFDistiller
Application.Printer=Application.Printers("Adobe PDF")
Set ObjPDF = New PDFDistiller (It Fails Here)
ObjPDF.FileToPDF "ActualName","Custom Name",""
Set Application.Printer=Nothing
I have tried everything such as granting privileges to various locations
in the regitry and the hard disk but the error persists. I have made a
reference to the Acrodist.exe as well. Late Binding using CreateObject
fails too.
Please advise,
Pradeep Varma
*** Sent via Developersdex http://www.developersdex.com ***