本文整理自网络,侵删。
uses WinTypes, ShellAPI;
procedure OpenObject(sObjectPath: string);begin ShellExecute(0, nil, PChar( sObjectPath ), nil, nil, SW_NORMAL);end;
//调用 OpenObject('c:\my_docs\report.txt');
相关阅读 >>
Delphi idftp 错误:socket error 10054 �c connection reset by peer -连接被重置
Delphi下cpu getcpuid实现(x86和x64)
Delphi 是否是闰年- isleapyear、isinleapyear
更多相关阅读请进入《Delphi》频道 >>