GeneZ Posted October 30, 2010 Share 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? Link to comment Share on other sites More sharing options...
Varian Posted October 30, 2010 Share 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 Link to comment Share on other sites More sharing options...
GeneZ Posted October 30, 2010 Author Share 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? Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted October 30, 2010 Share 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 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now