Click here to Skip to main content
15,891,184 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi every one.
I Make a Reminder application using c# Windows form application
Now i want when my computer is turn on my application is automatically start running in background
any one tell me how can i do this
Thanks in advance.

What I have tried:

I have no idea how can i do this
Posted
Updated 12-Aug-18 14:30pm
Comments
Codingnow20 13-Aug-18 16:30pm    
What are you running?Windows 10? 7? 8?

You can try to use Windows Task Scheduler. Here is an example.

How to create basic tasks with Task Scheduler, in 5 steps | Digital Citizen[^]
 
Share this answer
 
Your will not start when Windows starts. You're going to have to wait until the user logs on.

You can either use the Task Scheduler to do this or you can launch your app from the Run key in the Registry under either HKEY_LOCAL_MACHINE or HKEY_CURRENT_USER: \Software\Microsoft\Windows\CurrentVersion\Run.

If under LOCAL_MACHINE, the app will run for anyone who logs into the machine. If under CURRENT_USER, it will only run for the user that is currently logged in when you set the registry value up.
 
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