Hi Ajay,
Unfortunately your suggestion only finds the associated program for a data file or document.
Regards
Doug Johnston
>DECLARE INTEGER FindExecutable IN shell32 STRING @lcFilename, ;
> STRING @lcPath , STRING @lcResult
>
>This might help you.
>
>Ajay Mishra
>MCP
>
www.mind-infotech.com