Page 1 of 1

Adobe

Posted: Thu Aug 07, 2014 6:37 am
by Zdeno Bielik
Hi Roger,

when I try compile sample acrobat.prg in \exp19\samples\activex, it stops with error:
ACROBAT.PRG(44:0): error XBT0200: Syntax Error

>>
DCACTIVEXCONTROL oAcrobat ;
; && CLSID "{CA8A9780-280D-11CF-A24D-444553540000}" ;
CLSID "PDF.PdfCtrl.5" ;
PARENT oStatic ;
EVAL {|o|o:setShowToolBar(.t.), ;
o:setShowScrollBars(.t.)}
<<

Why? When I try sample from \Alaska\xppw32\source\samples\activex\acrobat, it works OK.

TIA & Regards
Zdeno

Re: Adobe

Posted: Thu Aug 07, 2014 12:34 pm
by Auge_Ohr
Zdeno Bielik wrote: Why? When I try sample from \Alaska\xppw32\source\samples\activex\acrobat, it works OK.
why you try to use ProgID "PDF.PdfCtrl.5" ? this is for Version v5.x
Alaska Sample use CLSID "{CA8A9780-280D-11CF-A24D-444553540000}" which still work with Adobe Reader v11.x

Re: Adobe

Posted: Thu Aug 07, 2014 4:26 pm
by rdonnay
You need to give the command coordinates and size:

@ <row>, <col> DCACTIVEXCONTROL <oControl> SIZE 500,500 ....

Re: Adobe

Posted: Wed Aug 13, 2014 12:30 am
by Zdeno Bielik
Hi Roger,

I just posted in User contributions forum little function for display MS Word document as Pdf.
Maybe you can add any similar function for show *.Doc(x) into eXpress++ or also any next clause/option in DCPRINT system.

Just idea :)

Regards
Zdeno