Hi.
A while back Arturo announced a new class to view pdfs natively. Has anybody heard about this class again? Is the source available anywhere? Arturo?
Thank you,
Reinaldo.
Hi.
A while back Arturo announced a new class to view pdfs natively. Has anybody heard about this class again? Is the source available anywhere? Arturo?
Thank you,
Reinaldo.
*-----------------------------------*
Function OpenPdf(cTempFile,cReport)
LOCAL oWnd, oPdf
Default cReport := cTempFile
DEFINE WINDOW oWnd TITLE cReport
oPdf = TActiveX():New( oWnd, "AcroPDF.PDF" )
oPdf:LoadFile := cTempFile
oWnd:oClient = oPdf
ACTIVATE WINDOW oWnd MAXIMIZED ;
ON INIT SETWINDOWPOS( oWnd:hWnd, -1, 0, 0, 0, 0, 3 ) ;
VALID (oPdf:End(), .T. )
RETURN NILDutch;
Thank you. Arturo's class did not require Acrobat to be installed. It was supposed to be a native fw class.
But, in the absence of Arturo's class, I will use your code. Thank you.
Reinaldo.