Question:
It's days i was looking around how to restart my application by itself.
Can you show me?
Answer:
Here small program using winexec to restart application.
procedure TForm1.Button1Click(Sender: TObject);
var
FullProgPath: PChar;
begin
FullProgPath := PChar(Application.ExeName);
WinExec(FullProgPath, SW_SHOW);
Application.Terminate;
end;
Subscribe to:
Post Comments (Atom)






get the recovery excel utility to fix data corruption issues in the files of specified format