>Anyone know of a control to allow a VFP app to control Acrobat reader? Here's the deal, we want to have our app open call a pdf file and open an Acrobat session where the user can view/print the file. Any suggestions would be appreciated.
>
There's no need for a control. If Acrobat is installed, you can view or print a .PDF document using ShellExecute(); it supports the Open verb to view, and both Print and PrintTo verbs to print. ShellExecute() can be used in VFP through the Win32 API; the FFC contains a wrapper class _shellexecute() in _ENVIRON.VCX:
oShell = NEWOBJECT('_shellexecute','environ.vcx')
oShell.ShellExecute('C:\MyDir\MyPDFFile.PDF',,'OPEN') && view
oShell.ShellExecute('C:\SomeOtherDir\SomeOtherDoc.PDF',,'PRINT') && print on default printer