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;


3 Responses so far.

  1. Anonymous 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