Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Open .PDF file
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Miscellaneous
Thread ID:
00347664
Message ID:
00348063
Views:
27
>>>Hi, all
>>>
>>>Does anyone have the object code to open a pdf file with VFP6.0.
>>>
>>
>>You need to ensure that the Acrobat Reader is installed on the target system, at which point, you can launch a .PDF file with the ShellExecute() API call or the FFC class that implmenets ShellExecute().
>
>Forget something?:-) Of course, the Windows Script Host's WSHShell Object has a run method that'll do this too.

As does Shell.Application - in this case, there's no advantage to either, since Adobe Acrobat is required IAC, and with VFP6, the FFC class makes launching the doc trivial.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform