You don't need to alter any code to make a program start when windows starts. You can either:
a) Created a shortcut to the program and put it in the 'startup' folder in the start menu.
b) Edit the registry (regedit.exe) and add a string value containing the path to the program in HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Run (to make it run for only the currently logged in user) or HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\Run (to make it run for all users).
Option b is what programs that have a 'run when windows starts' option (e.g. Windows Live Messenger) do programmatically, there's no special trick to making a program do this.
LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks