>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