[Quote=引用 7 楼 liangj163 的回复:]
这是咱公司的更新后后调用的.EXE文件,些许对你有帮助.没办法我还是菜鸟!正在看代码....
procedure TfrmMain.AlphaBlendtimerTimer(Sender: TObject);
begin
if bFlag then begin
if FileExists(GetCurrentDir + '\SMStrade.exe') then
ShellE……
[/Quote]
这是咱公司的更新后后调用的.EXE文件,些许对你有帮助.没办法我还是菜鸟!正在看代码....
procedure TfrmMain.AlphaBlendtimerTimer(Sender: TObject);
begin
if bFlag then begin
if FileExists(GetCurrentDir + '\SMStrade.exe') then
ShellExecute(0, 'open', PChar(GetCurrentDir + '\SMStrade.exe'), nil, PChar(GetCurrentDir()), SW_MAXIMIZE) //SW_MINIMIZE 最小化窗口,活动状态给令一个窗口
end;
close;
end;