>How can I get the Windows (registry) File association via VFP or WinAPI. I am returning a file from GETFILE() call, and need to automatically load this file in Windows associated application synchronously (must terminate external application to return to VFP application for event capture).
>
>Fz - Boston MA
If the Windows Script Host is available
oShell = CREATEOBJECT("WScript.Shell")
oShell.Run(lcfile, 5, .T.)
The executable associated with the file will load and run the program in a normal window, and VFP will wait for it to terminate.
George
Ubi caritas et amor, deus ibi est