Re: restart application
- From: "Ingolf" <dont_spam_ingolf@xxxxxxxxxx>
- Date: Fri, 24 Nov 2006 18:06:24 +0100
<jimbo@xxxxxxxxxx> wrote in message
news:1164362542.923132.96860@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
How can I on the click of a button "restart" my program. That is reset
all the defaults. Can a program close and reopen itself? Looked at
initialize but don't understand what it all means. TIA
Jim
procedure TForm1.Button1Click(Sender: TObject);
begin
winexec(PAnsiChar(paramstr(0)),SW_SHOWNORMAL);
halt(0);
end;
.
- Follow-Ups:
- Re: restart application
- From: Jamie
- Re: restart application
- References:
- restart application
- From: jimbo
- restart application
- Prev by Date: Re: restart application
- Next by Date: TimeSetEvent
- Previous by thread: Re: restart application
- Next by thread: Re: restart application
- Index(es):