How to run the window application automatically
How to run the window application automatically when the windows is started.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Sateesh ArvetiRank #96 · 22.3K reputationPosted Mar 5, 2009, 8:25 PM EST
Add your Windows Forms Exe to Windows Startup folder.Sothat,it will run when windows starts..
Purushottam RathoreRank #120 · 18.2K reputationPosted Mar 5, 2009, 10:13 PM EST
Vijaya KadiyalaRank #1,085 · 1.8K reputationPosted Mar 13, 2009, 9:44 AM EDT
Hi,
You can even try out with Windows services. If you want to run the appllication at the windows start-up then Start-up folder is the best option.
Thanks -- Vijaya Kadiyala
http://dotnetvj.blogspot.com
sivakumar G2 reputationPosted Mar 27, 2009, 4:23 AM EDT
Sunil Raju136 reputationPosted Aug 13, 2009, 4:12 AM EDT
Sunil Raju136 reputationPosted Aug 13, 2009, 4:15 AM EDT
Sunil Raju136 reputationPosted Aug 13, 2009, 4:16 AM EDT
Kirtan PatelRank #292 · 8.6K reputationPosted Aug 13, 2009, 4:19 AM EDT
You can Add your Exe to Startup By Writing a Key into Registry
dont forget to mark "Do you like answer" it will give me some credits :)
and if you find any difficulty in implementing code let me know :)
using Microsoft.Win32;
RegistryKey rkey = Registry.CurrentUser.OpenSubKey(@"SOFTWARE\Microsoft\Windows\CurrentVersion\Run",true);
rkey.SetValue("Your App Name","Path of Your Exe");
rkey.Close();
Purushottam RathoreRank #120 · 18.2K reputationPosted Aug 14, 2009, 5:00 AM EDT