Better than the Startup folder
-
I know some programs automatically start when the Windows OS is launched, but they are not in the Startup menu. The best I've been able to figure out so far is that it is a registry addition you must make to load your program. Where should I be looking for more information about this? Thanks, :suss: -Jason
-
I know some programs automatically start when the Windows OS is launched, but they are not in the Startup menu. The best I've been able to figure out so far is that it is a registry addition you must make to load your program. Where should I be looking for more information about this? Thanks, :suss: -Jason
There's two - Run and RunOnce ( which runs the program then deletes the entry ). I dunno where they are, I always find them by searching for 'RunOnce'. Christian After all, there's nothing wrong with an elite as long as I'm allowed to be part of it!! - Mike Burston Oct 23, 2001
-
There's two - Run and RunOnce ( which runs the program then deletes the entry ). I dunno where they are, I always find them by searching for 'RunOnce'. Christian After all, there's nothing wrong with an elite as long as I'm allowed to be part of it!! - Mike Burston Oct 23, 2001
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce Michael Martin Pegasystems Pty Ltd Australia martm@pegasystems.com +61 413-004-018 "Don't belong. Never join. Think for yourself. Peace" - Victor Stone
-
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce Michael Martin Pegasystems Pty Ltd Australia martm@pegasystems.com +61 413-004-018 "Don't belong. Never join. Think for yourself. Peace" - Victor Stone
Put it in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run if you want it for all users Nish
-
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce Michael Martin Pegasystems Pty Ltd Australia martm@pegasystems.com +61 413-004-018 "Don't belong. Never join. Think for yourself. Peace" - Victor Stone
Hello. Thanks for responding so quickly. I've got a followup question:
// add the key CRegKey key; key.Open(HKEY\_LOCAL\_MACHINE, "\\\\Software\\\\Microsoft\\\\Windows\\\\CurrentVersion\\\\Run"); key.SetKeyValue("Igloo", "foo"); key.Close();
This tends to ASSERT. Do you immediately spot anything wrong with the method I'm using to add a Name "Igloo" and a value "foo" (which will be the program's filespec.) :suss: -Jason
-
Hello. Thanks for responding so quickly. I've got a followup question:
// add the key CRegKey key; key.Open(HKEY\_LOCAL\_MACHINE, "\\\\Software\\\\Microsoft\\\\Windows\\\\CurrentVersion\\\\Run"); key.SetKeyValue("Igloo", "foo"); key.Close();
This tends to ASSERT. Do you immediately spot anything wrong with the method I'm using to add a Name "Igloo" and a value "foo" (which will be the program's filespec.) :suss: -Jason
-
I know some programs automatically start when the Windows OS is launched, but they are not in the Startup menu. The best I've been able to figure out so far is that it is a registry addition you must make to load your program. Where should I be looking for more information about this? Thanks, :suss: -Jason
In Win2000 in the control panel there is Scheduled Tasks. You can set this up there. It may just make the registery entry for you... but it is easy.