bb.donnay-software.com

Donnay Software Web Forums
It is currently Mon Dec 18, 2017 11:14 am

All times are UTC - 7 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Tue Sep 19, 2017 11:15 am 
Offline

Joined: Mon Jul 28, 2014 1:26 am
Posts: 69
Location: PoznaƄ, Poland
Hi,
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
instead
oPDF:loadFile(cFile)

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

Regards
Piotr


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group