To start up application
at startup you need to use that library:
Code:
Using
System.Microsoft.Win32;
Then insert the value
into Registry :
Code:
RegistryKey
doit =
Registry.LocalMachine.OpenSubKey("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run",
true);
doit.SetValue("ApplicationName",
"ApplicationPath");
doit.Close();