Click here to Skip to main content
15,906,094 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi,

How to run a c# program in windows start up


thanks in advance
Posted

The easiest choice is to place a short cut of the program in the startup folder (in start menu).

Other more complex approaches would be to use Windows Services etc.
 
Share this answer
 
Comments
Gonzoox 8-Apr-11 8:17am    
Windows Services???
If you want to run the program when windows starts, create your application as a service which then is set to start automatically.

If you want the application to start when user logs in, you can define it in startup folder of Start menu or for example put it into
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
in the registry.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900