Previous | Next | (P-PDF) Acrobat 6.0
Topic: Convert PDF TO JPEG Using VB
Conf: (P-PDF) Acrobat 6.0, Msg: 134264
From: x1234
Date: 6/10/2005 05:17 AM
The code I have was in vba with the add reference set to "Adobe Acrobat 6.0 Type Library"
Option Compare Database
Dim gApp As Acrobat.CAcroApp
Dim pdDoc As Acrobat.CAcroPDDoc
Dim jso As Object
Dim Doc As Object
Private Sub Form_Load()
Set gApp = CreateObject("AcroExch.App")
Set pdDoc = CreateObject("AcroExch.PDDOC")
pdDoc.Open ("c:O_Rept#732B_Main.pdf") 'file on c: drive
Set jso = pdDoc.GetJSObject
jso.console.saveas ("c:\adobe\adobe.jpg", "com.adobe.acrobat.jpeg") ERROR HERE
End Sub
Could I do what I what here???? I really need help. I am very new to scripting in acrobat.
I know that saveas() needs to run in console or batch because of security.
I believe the open() command work, but the saveas () is wrong.
Thank You For Your Help