c# - Need To Force Windows Forms Application To Run At Startup -


I'm a WinForms application that I want to start automatically on login - this time it's just a normal standalone 'exe'

Does anyone know how to put it in the startup folder and what Is it reliable (to the extent it will be started)?

If you are using the built-in setup project in Visual Studio:

< Right click on your solution in Solution Explorer and select

  • Select File System Select

  • Right click on File system on target machine and add special folder

  • < Li>

    Select User's Startup Folder

  • In the empty right hand panel, right-click and select Create a new shortcut

  • Select the primary output for your Winforms exe

  • And you are doing

    As Alex Reitbort says, however, it is only as strong as the target user wants it to be shortcut in its startup folder. It is free to remove.


    Comments