S SiWeiLiuLang Unregistered / Unconfirmed GUEST, unregistred user! 2008-03-07 #1 退出当前程序,并执行另外一个程序,请问怎么做啊?
白 白河愁 Unregistered / Unconfirmed GUEST, unregistred user! 2008-03-07 #2 做不了。<br><br>执行另外一个程序,退出当前程序,就可以。
S SiWeiLiuLang Unregistered / Unconfirmed GUEST, unregistred user! 2008-03-07 #4 那怎么执行另外一个程序,并退出当前程序呢?
C cgs1980 Unregistered / Unconfirmed GUEST, unregistred user! 2008-03-07 #5 在onclose事件中可以执行如下语句试一下: ShellExecute(Handle,'open',PChar(另外一个程序),nil,nil,SW_SHOWNORMAL);
L lxw5214 Unregistered / Unconfirmed GUEST, unregistred user! 2008-03-07 #6 1.用shellexecute函数执行另外一个程序如:<br> shellexecute(application.handle,'open','yourprogram.exe',nil,nil,sw_shownormal);<br>2.推出当前程序Application.terminate;
1.用shellexecute函数执行另外一个程序如:<br> shellexecute(application.handle,'open','yourprogram.exe',nil,nil,sw_shownormal);<br>2.推出当前程序Application.terminate;