I have this code to create object of Acrobat on my machine (my machine don't have acrobat installed but network machine has).
in the createObject argument 2, I have mentioned network machine name which has acrobat installed. but it's throwing exception "cannot create ActiveX component".
in the other machine which has acrobat installed, it works fine but I need createobject of acrobat on the machine which don't have acrobat. How do I achieve that?
Dim PDFApp As Acrobat.AcroApp
Dim PDDoc As Acrobat.CAcroPDDoc
Dim AVDoc As Acrobat.CAcroAVDoc
Dim pdfPoint As Acrobat.AcroPoint
Dim pdfPage As Acrobat.AcroPDPage
Dim app As Object
PDFApp = CreateObject("AcroExch.App", "\\Compaq-PC")
reply is appreciated.
There are PDF libraries and the Acrobat SDK that can be used to create PDFs from within user written applications. You might want to research them.