I make an application that, when you run it, will put the .exe in Startup. I have this code for that:
RegistryKey rkApp = Registry.CurrentUser.OpenSubKey(\"S
If you need to run at startup, the generally preferred way is to run it as a windows service.
If you need a gui as well, then you should have a gui that talks to the windows service that hosts your application.