ShellExecute,可以打开Exe及带关联的文件,如果不能打开,看返回值<br>0 The operating system is out of memory or resources.<br>ERROR_FILE_NOT_FOUND The specified file was not found.<br>ERROR_PATH_NOT_FOUND The specified path was not found.<br>ERROR_BAD_FORMAT The .EXE file is invalid (non-Win32 .EXE or error in .EXE image).<br>SE_ERR_ACCESSDENIED The operating system denied access to the specified file. <br>SE_ERR_ASSOCINCOMPLETE The filename association is incomplete or invalid.<br>SE_ERR_DDEBUSY The DDE transaction could not be completed because other DDE transactions were being processed.<br>SE_ERR_DDEFAIL The DDE transaction failed.<br>SE_ERR_DDETIMEOUT The DDE transaction could not be completed because the request timed out.<br>SE_ERR_DLLNOTFOUND The specified dynamic-link library was not found. <br>SE_ERR_FNF The specified file was not found. <br>SE_ERR_NOASSOC There is no application associated with the given filename extension.<br>SE_ERR_OOM There was not enough memory to complete the operation.<br>SE_ERR_PNF The specified path was not found.<br>SE_ERR_SHARE A sharing violation occurred.