Y yuzhizhi Unregistered / Unconfirmed GUEST, unregistred user! 2002-01-05 #22 Form1.onCreate(..);<br>var f:Filetext;<br>begin<br>//写一个批处理文件到a.bat<br>assign(f,a.bat) <br>rewrite(f);<br>writeln('执行exe文件');输入你想要执行的文件<br>writeln('delete %a.bat')<br>closefile(f);<br>end;<br><br>Form1.onClose();<br>begin<br>Winexec(a.bat,sw_hide);<br>end;
Form1.onCreate(..);<br>var f:Filetext;<br>begin<br>//写一个批处理文件到a.bat<br>assign(f,a.bat) <br>rewrite(f);<br>writeln('执行exe文件');输入你想要执行的文件<br>writeln('delete %a.bat')<br>closefile(f);<br>end;<br><br>Form1.onClose();<br>begin<br>Winexec(a.bat,sw_hide);<br>end;
茄 茄子 Unregistered / Unconfirmed GUEST, unregistred user! 2002-01-05 #23 你下载的文件放到什么位置的? 在WINEXEC中指定的文件路径正确么?
風 風 Unregistered / Unconfirmed GUEST, unregistred user! 2002-01-05 #24 請問誰能告訴我,在DElphi5 裡面在做查詢時出現忙碌於別外一個結果,怎麼來解決,<br>那位高手能求求我,我的email是javens@163.net<br><br>我用過,一定行<br>uses ShellAPI;<br>ShellExecute(handle, 'open',pchar( '调用的程序路径'), nil, nil,sw_shownormal);<br><br>
請問誰能告訴我,在DElphi5 裡面在做查詢時出現忙碌於別外一個結果,怎麼來解決,<br>那位高手能求求我,我的email是javens@163.net<br><br>我用過,一定行<br>uses ShellAPI;<br>ShellExecute(handle, 'open',pchar( '调用的程序路径'), nil, nil,sw_shownormal);<br><br>
Z zanpen2001 Unregistered / Unconfirmed GUEST, unregistred user! 2002-01-06 #26 agree to coolbaby:at uses units,add "ShellApi" units then go !<br><br>shellexecute()...............<br><br>application.termin.......<br><br>my brother , good luck !
agree to coolbaby:at uses units,add "ShellApi" units then go !<br><br>shellexecute()...............<br><br>application.termin.......<br><br>my brother , good luck !