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;


6 Responses so far.

  1. daspeac says:

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

Post a Comment

Thank you for your comment.

Any request and idea are welcome.

CLICK TO REGISTER