+ Reply to Thread
Results 1 to 2 of 2

Thread: How to start program at windows startup

  1. #1

    How to start program at windows startup

    Hello , i am developing a security application and it has to be started each time the windows is started , i searched about how to run applications on start up and i read that you can do it from registry but i do not have a good knowledge with win32 , i really wish if you guys can help me and thanks .

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

+ Reply to Thread

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts