简体   繁体   English

如何在多台计算机上使用单个Windows窗体应用程序

[英]How to use Single windows form application on multiple machines

How to use Single windows form application on multiple machines without installing it in all machines? 如何在多台计算机上使用单个Windows窗体应用程序而不将其安装在所有计算机上? or do i have to install it on all machines? 还是我必须在所有机器上安装它?

First of all, please tag your questions well, Sql Server??. 首先,请正确标记您的问题,Sql Server ??。 Second, depends on how your application is constructed. 其次,取决于应用程序的构造方式。 If you only have one project, then copying the bin folder with all the files inside should do the work. 如果您只有一个项目,则复制其中所有文件都包含在内的bin文件夹即可完成工作。 But if you have more complexity, then you have to make an installer. 但是,如果您有更多的复杂性,则必须制作一个安装程序。 It is always recommended to make an installer as it takes care of a lot of situations (framework installed, files needed, etc), otherwise you have to take care of that on your own. 始终建议您制作一个安装程序,因为它会处理很多情况(已安装框架,需要的文件等),否则,您必须自己进行处理。 Not recommended. 不建议。

Copy Bin folder of project and paste to computer where you want to run it. 复制项目的Bin文件夹,然后粘贴到要运行它的计算机上。 And directly run YourProgramName.exe 并直接运行YourProgramName.exe

You can do following options: 您可以执行以下选择:

1) Install project to one machine and create shortcuts on antoher machines, so they will open project installed on first machine 1)将项目安装到一台计算机上,并在另一台计算机上创建快捷方式,这样它们将打开在第一台计算机上安装的项目

2) Make folder with files and folders in project/bin folder, and you can copy to any machine. 2)在项目/ bin文件夹中创建包含文件和文件夹的文件夹,然后可以复制到任何计算机。 But if your project requires something to install this option will not good choice 但是,如果您的项目需要安装某些东西,则此选项将不是一个好选择

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在单个Windows窗体应用程序中显示多个窗体页面? - How to show multiple form pages in single windows form application? Visual Studio单个Windows窗体应用程序多个开发人员 - Visual Studio Single Windows Form application Multiple Developer 如何在Windows窗体应用程序中关闭多个窗体 - How to close Multiple forms in Windows form Application 如何在单个Windows窗体的多个列表视图中使用选定的索引更改事件? - how to use selected index changed event in multiple listviews in single windows form? 如何在C#中最小化单个Windows应用程序窗体 - How to minimize a single Windows application form in C# 如何为Windows窗体应用程序制作单个安装文件 - how to make a single setup file for windows form application 如何在Windows窗体上使用多个复选框组 - How to use multiple checkboxgroups on a Windows Form 如何在C#Windows窗体的单个图片框中显示多个图像? - How to display multiple images in a single picturebox in c# windows form? Windows窗体应用程序中的多个计时器 - multiple Timers in windows form application Windows服务和在不同计算机上运行的桌面应用程序之间如何通信 - How to communicate between a windows service and a desktop application running on different machines
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM