Programmatically make program start on Windows start

Posted by Diane Channers P15844 on January 31, 2009

In Reply to Re: Make program start on Windows start posted by ceiling cat on January 31, 2009

: : How can I make an Delphi application start every time that Windows starts?

: Create a shortcut for your application and drag the shortcut (or copy and paste the shortcut) to
:
: C:\Documents and Settings\YOUR_WINDOWS_USER_NAME\Start Menu\Programs\Startup
----------------------------

Thanks for your swift answer, I already knew this myself ;)

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!

Related articles

       

Follow Ups