GeneZ 0 Posted October 30, 2010 So I wanted my little program to have an option for the users to make it run on startup. is this possisble? Just a check button type system tray item that if checked the program will run on startup if not it won't is this possible? Share this post Link to post Share on other sites
Varian 8 Posted October 30, 2010 You can easily do that, you'll just have to decide which startup entry location you want to use: HKLM\Software\Microsoft\Windows\CurrentVersion\Run HKCU\Software\Microsoft\Windows\CurrentVersion\Run The User's Startup Folder All Users' Startup Folder Share this post Link to post Share on other sites
GeneZ 0 Posted October 30, 2010 You can easily do that, you'll just have to decide which startup entry location you want to use:HKLM\Software\Microsoft\Windows\CurrentVersion\RunHKCU\Software\Microsoft\Windows\CurrentVersion\RunThe User's Startup FolderAll Users' Startup Folderso I just make my program add a registry key there? and it will automatically be added to startup list? Share this post Link to post Share on other sites
AdmiralAlkex 125 Posted October 30, 2010 so I just make my program add a registry key there? and it will automatically be added to startup list?There is no such thing as a "startup list". Windows has some folders and registry keys it check at start and run any content in them. Varian listed the more common ones.Decide what you want, then look in the helpfile forFileCreateShortcut() and Directory Macros or RegWrite(). .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Share this post Link to post Share on other sites