Click here to Skip to main content
13,665,440 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
Posted 12-Aug-18 9:30am
Updated 12-Aug-18 14:30pm
Comments
Codingnow20 5 days ago
   
What are you running?Windows 10? 7? 8?
Rate this: bad
 
good
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[^]
  Permalink  
Rate this: bad
 
good
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.
  Permalink  

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-2016 | 2.8.180810.1 | Last Updated 12 Aug 2018
Copyright © CodeProject, 1999-2018
All Rights Reserved.
Layout: fixed | fluid

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