1. If you pass a pdf file name with path as parameters, the form will show the file without a file selection choice. If no parameters snt, the button will be auto displayed to choose a PDF file.
2. Cut and paste the following to a prg.. say..
gsPDF.prg
And RUN it from command window or call it from another prg..
=gsPDF() or =gsPDF("cPdfFileName")
**********************************************************
** Form to display PDF files.
**********************************************************
** Author : Ramani (Subramanian.G)
** FoxAcc Software / Winners Software
** Type : Freeware with reservation to Copyrights
** Warranty : Nothing implied or explicit
**********************************************************
** I used PDF reader ver 6.0.
** Should work with earlier versions also
** If necessary change suitably in the line ...
** ADD OBJECT olecontrol1 AS olecontrol WITH ;
** OLEClass = "PDF.PdfCtrl.5"
**********************************************************
PARAMETERS tFile
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.