Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Anyone, Anyone?
Message
From
13/11/2000 09:57:33
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, United States
 
 
To
10/11/2000 17:47:07
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00440530
Message ID:
00440985
Views:
6
Yes, one of the options on a reports screen that I we design is to export the report to Acrobat.

>>Does anyone know where I can find an object model for Adobe Acrobat Reader? Or better yet how to bring it up using OLE Automation?
>>
>>Please respond,
>>
>>Jim
>
>If you are just needing to open a PDF file, you should be able to do this:
>Create a program with the follow code
** ShellEx.prg
>LPARAMETER lcLink, lcAction, lcParms
>DECLARE INTEGER ShellExecute ;
>    IN SHELL32.dll ;
>    INTEGER nWinHandle, ;
>    STRING cOperation, ;
>    STRING cFileName, ;
>    STRING cParameters, ;
>    STRING cDirectory, ;
>    INTEGER nShowWindow
>
>DECLARE INTEGER FindWindow ;
>   IN WIN32API ;
>   STRING cNull,STRING cWinName
>
>RETURN ShellExecute(FindWindow(0, _SCREEN.caption), ;
>                    lcAction, lcLink, ;
>                    lcParms, SYS(2023), 1)
>** end
>
>** and then call it using
>ShellEx(FullPath("mypdf.pdf"))
Thanks

Jim
Previous
Reply
Map
View

Click here to load this message in the networking platform