A andy_qin Unregistered / Unconfirmed GUEST, unregistred user! 2003-01-11 #3 winexec('*.exe',SW_Normal);
X xjtuhongwei Unregistered / Unconfirmed GUEST, unregistred user! 2003-01-11 #4 use shellapi<br>shellexecute(handle,nil,pchar(filename),nil,nil,sw_shownormal);
小 小女人 Unregistered / Unconfirmed GUEST, unregistred user! 2003-01-11 #6 procedure TForm1.Image3Click(Sender: TObject);<br>var<br>b:string;<br>begin<br>b:=extractfilepath(application.exename)+'setup.exe';//取得文件路径<br>shellexecute(0,'open',pchar(b),0,0,sw_normal);//运行EXE文件<br>end;
procedure TForm1.Image3Click(Sender: TObject);<br>var<br>b:string;<br>begin<br>b:=extractfilepath(application.exename)+'setup.exe';//取得文件路径<br>shellexecute(0,'open',pchar(b),0,0,sw_normal);//运行EXE文件<br>end;
G gaolang2 Unregistered / Unconfirmed GUEST, unregistred user! 2003-01-11 #8 例子:<br>winexec('C:/代培生学籍管理/wpxj.exe',SW_MAXIMIZE);<br>
B biddles Unregistered / Unconfirmed GUEST, unregistred user! 2003-01-11 #12 winexec('*.exe',SW_Normal);<br>
H hailang8 Unregistered / Unconfirmed GUEST, unregistred user! 2003-01-13 #13 winexec<br>shellexecute<br> 这两个都可以用
C c96301 Unregistered / Unconfirmed GUEST, unregistred user! 2003-07-11 #14 winExec主要是为了兼容以前16位的Windows.<br>对于32位的Windows,建议大家还是用CreateProcess,虽然参数多了一点。
F FeelingLoad Unregistered / Unconfirmed GUEST, unregistred user! 2003-07-11 #15 这个问题,斑竹不是一向删之而后快的吗??