Mega Code Archive

 
Categories / Delphi / System
 

How to run a Program automatically at Windows start up

Title: How to run a Program automatically at Windows start-up procedure TForm1.Button1Click(Sender: TObject); begin // 1.Parameter: Path to your Exe-File // 2. Parameter: the Title of your Application // 3. Set (true) or Unset (false) Autorun SetAutoStart(ParamStr(0), 'Title of your Application', True); end;