Copy link to clipboard
Copied
I would like to open a PDF File inside an existing Java(SWT)-Application. The PDF should not opened in an external frame. I tried via the OLE interface but without success.
At the moment i get an exception like: Failed to create Ole Client. result = -2147221164 |
Copy link to clipboard
Copied
Hi,
I don't know JAVA but you could use the IE Interface and then navigate to the PDF file.
Pseudocode:
$Obj = ObjCreate("Shell.Explorer.2")
$Obj.Navigate('D:\Test.pdf')
HTH, Reinhard
Copy link to clipboard
Copied
Thanks, but i need a solution without using the IE
Copy link to clipboard
Copied
Let's just check the basics. Do you have Acrobat PRO installed? What version?
Copy link to clipboard
Copied
Also I have seen. I see no evidence in the Acrobat SDK that this DoVerb is supported. Where do you see it?
Copy link to clipboard
Copied
i am using adobe acrobat dc
Copy link to clipboard
Copied
I aked if you are using Acrobat Pro. Please give the FULL product name you are using. Possibilities:
Acrobat Pro DC
Acrobat Standard DC
Acrobat Reader DC
Copy link to clipboard
Copied
Hi,
in your GUI you could use the web interface. Something like:
$oReader = ObjCreate("AcroPDF.PDF.1")
$oReader.Load=("D:\Test.pdf")
No IE needed for that.
HTH, Reinhard
Copy link to clipboard
Copied
Sorry, but i need a solution without using the internet
Find more inspiration, events, and resources on the new Adobe Community
Explore Now