>Does anyone know the best way to open a file using its associated program, regardless of the file type?
>
>There has to be an API call or combination of API calls but I can't find it.
>
>I already have the full path and file name, I just need to add an open button so the user can open and view the file from VFP. The file can be any type, i.e. XLS, DOC, HTM, INI, PDF, RTF, TXT.
>
>TIA,
>Mike
See
Open any document FAQ #8134
If it's not broken, fix it until it is.
My Blog