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.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Purushottam RathorePosted Aug 14, 2009, 9:00 AM
Kirtan PatelPosted Aug 13, 2009, 8:19 AM
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();
Sunil RajuPosted Aug 13, 2009, 8:16 AM
Sunil RajuPosted Aug 13, 2009, 8:15 AM
Sunil RajuPosted Aug 13, 2009, 8:12 AM
sivakumar GPosted Mar 27, 2009, 8:23 AM
Vijaya KadiyalaPosted Mar 13, 2009, 1:44 PM
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
Purushottam RathorePosted Mar 6, 2009, 3:13 AM
Sateesh ArvetiPosted Mar 6, 2009, 1:25 AM
Add your Windows Forms Exe to Windows Startup folder.Sothat,it will run when windows starts..