>Hi.
>I have a no. of PDF files in a folder and I want to be able to click on a button and preview a specifi PDF file from within VFP
>
>I can include a reference to the files in a Gris , and then I would like to Click a Command Button to view a particular PDF file.....anybody an ideas of how to do this.
>
>Regards,
>Gerard
Gerard, you can use ShellExecute() API to open PDF with default viewer, but that way you can not stopVFP application from runnig after the Acrobat Reader runs. You can use
API_APPRUN in .VCX Download #
9477 class to run Acrobat Reader and stay untill the user close it.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.