Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Call Adobe Reader
Message
From
22/09/2004 09:07:05
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00944939
Message ID:
00944942
Views:
35
This message has been marked as the solution to the initial question of the thread.
>Can someone tell me how to open up PDF document with Adobe Reader from within a VFP app?
>
>Or is there a practical way to have the PDF icon on a form so that a user can just double click on it to open it up?
>
>Thanks.....
>
>Mel Cummings
declare long ShellExecute in "shell32.dll" ;
	long hwnd, string lpszOp, ;
	string lpszFile, string lpszParams, ;
    string lpszDir, long nShowCmd

ShellExecute(0,'Open','c:\My Path\myFile.pdf',0,0,1)
PS: If you meant to open pdf in a VFP form then place a web browser control and navigate2('file://'+lcPDFFullPath)
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform