Click here to Skip to main content
13,862,011 members
Rate this:
Please Sign up or sign in to 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
Updated 12-Aug-18 15:30pm
Codingnow20 13-Aug-18 16:30pm
What are you running?Windows 10? 7? 8?
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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[^]
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

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.

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Cookies | Terms of Service
Web01 | 2.8.190214.1 | Last Updated 12 Aug 2018
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100