Loading file into Acrobat ActiveX
Page 1 of 1

Author:  Piotr D [ Tue Sep 19, 2017 11:15 am ]
Post subject:  Loading file into Acrobat ActiveX

in my application I use Acrobat ActiveX for viewing PDF files. But I see, that method loadFile() work not properly, when this file was open first with full version of Acrobat Reader. In this case, window of Acrobat ActiveX was empty - nothing is displayed. If you want test it, please run acrobat.exe or acrobat2.exe from Roger's samples of Express library, open PDF file with Adobe Reader and than try open the same file from acrobat.exe (or acrobat2.exe).
This is not problem with Xbase.
But when I use property src of Acrobat ActiveX (instead method loadFile() ), this solve this problem.
For example, when oPDF is Acrobat ActiveX object, use
oPDF:src :=cFile

Attention! In this case (using src property) cFile must be a full (with drive and path) file name.


Page 1 of 1 All times are UTC - 7 hours
Powered by phpBB® Forum Software © phpBB Group