为我的.exe文件创建一个启动选项 [英] create a startup option for my .exe file

查看:144
本文介绍了为我的.exe文件创建一个启动选项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个Windows应用程序,然后将其设置为一个设置(.exe)文件格式。但在安装过程中,安装程序并不要求任何选项将程序作为启动程序运行。我应该做些什么改变来实现这一目标。我成功安装了程序但是我需要添加一个选项,用户可以选择程序是否应该在启动时运行

I have created a windows application and then I made it into a setup(.exe) file format . But during installation the setup doesn''t ask for any option to run the program as a startup. What changes should I make to achieve this. I successfully installed the program but I need to add an option where the user can choose if the program should run at startup

推荐答案

如果你有多个项目解决方案然后您需要将项目中的任何一个设置为您在运行applciation时要查看的启动项。右键单击该项目并选择设置为启动项目。因此,当您运行应用程序时,您选择作为启动项目的应用程序将打开。
If you have more than one project in the solution then you need to set any one of the project as startup which you want to see when you run the applciation.Right Click the project and select Set as startup project. So when you run the application the one which you have selected as startup project will open.


这篇关于为我的.exe文件创建一个启动选项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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