ok i have a small proggie and i want it to run every time i reboot my pc what do i need to add to my source to allow this or a link to a tut would help also
-ne0x
ok i have a small proggie and i want it to run every time i reboot my pc what do i need to add to my source to allow this or a link to a tut would help also
-ne0x
Well we would need to know a little about what OS your using. For now I'll venture a guess that adding new shortcut to your Windows Startup group would do ok.
Regards,
Brian
well i would like for it to work on most of the windows os's 9X's NT and XP oh yeah and that one ME thing (j/k)
It's an OS specific task. Your program will not run until your OS tells it to, so look up information about how your OS does things.
Look up sheduled tasks.
dwk
Seek and ye shall find. quaere et invenies.
"Simplicity does not precede complexity, but follows it." -- Alan Perlis
"Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
"The only real mistake is the one from which we learn nothing." -- John Powell
Other boards: DaniWeb, TPS
Unofficial Wiki FAQ: cpwiki.sf.net
My website: http://dwks.theprogrammingsite.com/
Projects: codeform, xuni, atlantis, nort, etc.
The Startup group has been part of Windows at least as far back as Windows 3.1. You won't have to change your source code at all.
In other words, put a shortcut to your executable in a folder called Programs/Startup. I do that too for some of my programs.
dwk
Seek and ye shall find. quaere et invenies.
"Simplicity does not precede complexity, but follows it." -- Alan Perlis
"Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
"The only real mistake is the one from which we learn nothing." -- John Powell
Other boards: DaniWeb, TPS
Unofficial Wiki FAQ: cpwiki.sf.net
My website: http://dwks.theprogrammingsite.com/
Projects: codeform, xuni, atlantis, nort, etc.
how do add keys into the registry? links to tuts would be nice
This was pretty tough, but I managed to pull up a few links regarding adding keys to the registry...Originally Posted by ne0x