dotnetspider.com
Login Login    Register      

TutorialsForumCareer DevelopmentResourcesReviewsJobsInterviewCommunitiesProjectsTraining

Subscribe to Subscribers
Talk to Webmaster
Tony John

Facebook
Google+
Twitter
LinkedIn
Online MembersJivani
Renjini C
saisagar
krishna
lily
NIRVANA
More...
Join our online Google+ community for Bloggers, Content Writers and Webmasters




Forums » .NET » Windows »

How to Run Windows Application on windows startup in C#


Posted Date: 28 Jun 2012      Posted By:: Satish Madugundu     Member Level: Silver    Member Rank: 789     Points: 2   Responses: 5



Hi
I have created one windows application which is going to be install on all Employee's systems.
Now I want to run this application when system is opened and it should keep on run on background.
how to achieve this?

Thanks in Advance
Satish Madugundu




Responses

#677919    Author: RayalaHariKishore      Member Level: Gold      Member Rank: 52     Date: 28/Jun/2012   Rating: 2 out of 52 out of 5     Points: 2

hi,

goto run and type this %allusersprofile%\Start Menu\Programs\Startup

now drap and drop your application it will run on system startup

Rayala HariKishore

try..try..try...you achieved it.
http://rayalaharikishore.wordpress.com/



 
#677920    Author: sudhajosyula      Member Level: Gold      Member Rank: 46     Date: 28/Jun/2012   Rating: 2 out of 52 out of 5     Points: 2

Other way of doing is,Creating the application as Windows Service and adding it to the services and making the status type to automatic by right clicking on the properities on the service.


 
#677921    Author: Anil Kumar Pandey      Member Level: Platinum      Member Rank: 1     Date: 28/Jun/2012   Rating: 2 out of 52 out of 5     Points: 2

You can place the EXE of the windows application to the Startup of the windows so that the application get start automatically once the system is ready.

Thanks & Regards
Anil Kumar Pandey
Microsoft MVP, DNS MVM






 
#677938    Author: saravanakumar      Member Level: Gold      Member Rank: 197     Date: 28/Jun/2012   Rating: 2 out of 52 out of 5     Points: 2

My.Computer.Registry.LocalMachine.OpenSubKey("SOFTWARE\Microsoft\Windows\CurrentVersion\Run", True).SetValue(Application.ProductName, Application.ExecutablePath)


use with this code add ur application in startup.



 
#677952    Author: Ravindran        Member Level: Diamond      Member Rank: 3     Date: 28/Jun/2012   Rating: 2 out of 52 out of 5     Points: 3

hi,

Build that application once and go to the bin directory .exe file automatically created.

Now go to control panel choose sheduled task -> Add Schedule task choose that exe file and select which data that exe run after that chosee when run this application like windows start up choose and click ok that's all now restart system and check it

Regards
N.Ravindran
Your Hard work never fails



 
Post Reply

 This thread is locked for new responses. Please post your comments and questions as a separate thread.
If required, refer to the URL of this page in your new post.



Next : Windows Services to be run on backend
Previous : How to run the exe file of windows xp 32 bit in windows7 64 bit
Return to Discussion Forum
Post New Message
Category:

Related Messages



Follow us on Twitter: https://twitter.com/dotnetspider

Active Members
TodayLast 7 Daysmore...

Awards & Gifts
Email subscription
  • .NET Jobs
  • .NET Articles
  • .NET Forums
  • Articles Rss Feeds
    Forum Rss Feeds


    About Us    Contact Us    Copyright    Privacy Policy    Terms Of Use    Revenue Sharing sites   Advertise   Talk to Tony John
    Copyright © SpiderWorks Technologies Pvt Ltd., Kochi, India
    2005 - 2012 All Rights Reserved.
    .NET and other trademarks mentioned in this site belong to Microsoft and other respective trademark owners.
    Articles, tutorials and all other content offered here is for educational purpose only.
    We are not associated with Microsoft or its partners.