Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Programmatically runnung an application on windows startup

0 views
Skip to first unread message

New user

unread,
Jun 14, 2006, 2:50:18 PM6/14/06
to
How can I programmatically start a windows application when windows
loads. Can I get the code to do that, I'd rather do it with code than
with the setup & deployment wizard.
I'd also like to be able to set it up from the windows enviroment
(getting an application to load at windows startup)

Michael Nemtsev

unread,
Jun 14, 2006, 3:17:47 PM6/14/06
to
Hello New,

Put shortcut into Startup folder

NU> How can I programmatically start a windows application when windows
NU> loads. Can I get the code to do that, I'd rather do it with code
NU> than
NU> with the setup & deployment wizard.
NU> I'd also like to be able to set it up from the windows enviroment
NU> (getting an application to load at windows startup)
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche


Tom Porterfield

unread,
Jun 15, 2006, 7:26:31 AM6/15/06
to

There are several ways to get an application to run at startup. One option
is to place a shortcut to the exe in the Startup folder, the location of
which varies depending on which version of Windows and whether you want it
to start for the current user or all users. You can also place the path to
the exe in the registry at either
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run or
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run, again
depending on whether you want your program to run automatically at startup
for the current user or for all users.
--
Tom Porterfield

New user

unread,
Jun 15, 2006, 8:14:32 AM6/15/06
to
0 new messages