本文整理自网络,侵删。
uses shellapi;//调用API打开文件 使用系统默认打开方式进行打开.procedure .OpenFileAPI(sfn:string);begin ShellExecute(application.Handle, 'open', PChar(sfn), nil, nil, SW_SHOW);end; 相关阅读 >>
更多相关阅读请进入《Delphi》频道 >>
本文整理自网络,侵删。
uses shellapi;//调用API打开文件 使用系统默认打开方式进行打开.procedure .OpenFileAPI(sfn:string);begin ShellExecute(application.Handle, 'open', PChar(sfn), nil, nil, SW_SHOW);end; 相关阅读 >>
更多相关阅读请进入《Delphi》频道 >>
管理员已关闭评论功能...