Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Open any document
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00421210
Message ID:
00421214
Views:
13
>Is it possible to open a document of any extension (.doc, .xls, .pdf)
>from VFP6.0 without specify the software, just use the path and the name of the file? Something like Windows Explorer when you click on a file, and if extension is unknown Windows ask OPEN WITH...
>Is an API able to do that?

My file runner program (available download section under Win32) does this and will prompt if the file is of an unassociated type. The FFC also has a class which uses the ShellExecute() function in Shell32 to do this. Lastly, the WSH's Shell object has a Run method that does this as well.
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform