I'm trying to make it so it's an option to have my apps come up at start up, the only way to to this seems to be through the regristry. If so, does anyone have some source code I can use to make sure I don't mess anything up? And if not, does anyone have any safer ideas?
You can log off any time you like, but you can't ever leave.
You might be able to have your program create a shortcut in the startup folder.
"Cocuments and settings\all users\startup" or something like that?
I don't know how you'd make it only run for one specific user, or if it would work on all versions of windows.
n/a
Assault Andy Administrator
I make other people create vaporware
Registered 29/07/2002
Points 5686
3rd January, 2009 at 22:14:31 -
I don't know about Vista, but for XP and under putting your file in here should work:
"All Users Startup Folder - For Windows XP, 2000, and NT, this folder is used for programs that should be auto started for all users who will login to this computer. It is generally found at:
Windows XP C:\Documents and Settings\All Users\Start Menu\Programs\Startup
Windows NT C:\wont\Profiles\All Users\Start Menu\Programs\Startup
Windows 2000 C:\Documents and Settings\All Users\Start Menu\Programs\Startup"
You can also add your file's location to these inis:
5. windir\win.ini - [windows] "load"
6. windir\win.ini - [windows] "run"
7. windir\system.ini - [boot] "shell"