hi
I am developing a program that needs auto start at windows startup. For that I need to add Registry entries. Also the program needs to read some registry keys. What are the functions i need to do these.. Simply I need to
check if the startup key already exists
add a new key if it doesn't exist
read a key values
Somebody please help me. I found a lot of functions in MSDN site. But I didn't find the required functions..
Because using the Run or RunOnce key in the registry is a valid way to start an app. These keys provide other options that simply copying the app into the startup folder doesn't provide such as starting up the app when the machine starts, for all users or single user, or only start the app once (runonce).
Because using the Run or RunOnce key in the registry is a valid way to start an app. These keys provide other options that simply copying the app into the startup folder doesn't provide such as starting up the app when the machine starts, for all users or single user, or only start the app once (runonce).
That makes sense if you need the extra options. Based on the OP, the Startup directory would work just fine (no special parameters were mentioned as a pre-req).
That makes sense if you need the extra options. Based on the OP, the Startup directory would work just fine (no special parameters were mentioned as a pre-req).
It depends by what the OP meant by "needs auto start on windows startup". Does that mean on machine startup or user logon?
Bookmarks