Hi Jack,
>I'm relatively new to FoxPro and am using version 8.0. I tried your example but received an error saying that I needed additional parameters: "lpFileName, WorkDirectory, lcOperation"
>
>The line I was using is:
> nRetu = ThisForm._SHELLEXECUTE1.shellexecute(lcFile, "", "Print")My example uses SHELLEXECUTE() WIN API directly. You're using something else.
>The problem here is that while it sends the document directly to the printer it also starts up the Adobe framework.
>
>Do you have any suggestions on how I can prevent Adobe from starting up or how to programatically close it?When you specify a file name and a verb in the SHELLEXECUTE(), Windows uses an application associated with the particular file type (extension) to perform that action. In case of PDF it uses Adobe Acrobat or Adobe Acrobat Reader to print the file.
--sb--