Hello,
How can I set the computer to launch a program when it starts up?
Thanks,
Printable View
Hello,
How can I set the computer to launch a program when it starts up?
Thanks,
You have to modify a registry key but I can't recall which.
Put it in the startup group (for windows).
Or maybe tell us which OS you're on.
Yeah, I'm on Windows XP, but is there any way that I can add it to the startup group with C++ code from the program?
Are you going to make the program ask the user for permission before adding itself to the startup group?
You can copy a shortcut to C:\Documents and Settings\user\Start Menu\Programs\Startup (I think). Programs in there are automatically executed when the computer turns on.
Salem's right, though. You should ask the program user if they want the program to start when their computer turns on. It could be very annoying.
Why do you want the program to start up when the computer turns on?