ShellExecute opens a file with a program which is registerd for the file type.
Return Value
If nErrorCode is greater than 32 the function was successfully otherwise an error occurred.
Parameters
ssFile is the complete file name.
Example
ShellExecute("d:\test.xls");
// Opens the Windows Explorer
ShellExecute("c:\program files");
See also
id-329545