将c#应用程序添加到启动文件夹 [英] Adding a c# application to the startup folder

查看:86
本文介绍了将c#应用程序添加到启动文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在开发包含2个项目的ac#应用程序,我想知道如何将一个项目添加到安装此应用程序的系统启动,我的意思是在安装应用程序期间,项目应该添加到启动文件夹

解决方案

它可以通过多种方式实现:

选项1:将应用程序的快捷方式放在启动文件夹中。

选项2:使用注册表设置。请参阅:在启动时运行程序 [ ^ ]



Abhinav& amp; SA在这里:如何在启动时运行程序? [ ^ ]

Hi,
I''m developing a c# application that contains 2 projects , i want to know how to add one of projects to the start up to a system which installs this application, i mean during installation of the app the project should add to the start up folder

解决方案

It can be achieved in various ways:
Option 1: Place a short cut of your application in the startup folder.
Option 2: Using Registry settings. Refer: Running a program at startup[^]

Another couple of good approaches explained by Abhinav & SA here: How to run a program at startup?[^]


这篇关于将c#应用程序添加到启动文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆