Thanks: Programmatically make program start on Windows start

Posted by Diane Channers P15844 on February 01, 2009

In Reply to Re: Programmatically make program start on Windows start posted by bobp12404 on February 01, 2009

: : But I want to do this under program control, from within my Delphi application. For example, a Delphi app that asks "Autostart with Windows?" and if "yes" is clicked, it does all the necessary things. And vice versa, on clicking "no" the app should not anymore start at the next Windows startup.
: : Is this possible? Thanks a lot in advance!

: DelphiLand has you covered:
: Click the "Code snips" link on the left hand side, then click the "Launch application at Windows Startup: Run and RunOnce Registry keys" link (http://www.festra.com/eng/mtut07.htm). Here is a short snippet, but more info is on that page:
: etc...
: Lots of cool stuff there. :)

Bob: thank you very much, that was what I needed, I tried it and it works wonderfully!

Also the related articles are useful, I found out with the SEARCH function on DelphiLand :-)

Related articles

       

Follow Ups