在另一台计算机上部署Windows窗体项目 [英] Deployment of a Windows forms project on another machine

查看:81
本文介绍了在另一台计算机上部署Windows窗体项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好...



我有一个小的演示窗体申请表,有两种表格。

1)输入一个第一种形式的名称,它将名称添加到数据库中的表中。使用的后端是SQL Server 2008.



2)成功进入数据库后,系统会提示用户输入第二个表格,这个表格基本上是一个演示计算器。



我的问题是如何将这个项目部署到其他机器上。 Wana在另一台机器上创建了一个普通的可执行文件。



我能够部署另一个没有SQL数据库连接的Windows窗体应用程序,使用VS 2008的安装和部署向导。



另外,其他机器是否必须具有某些先决条件,例如是否存在SQL服务器?



我用Google搜索,但找不到有意义的结果。



任何协助或指向此方案的外部指针都会非常感谢。



问候

anurag

Hello folks...

I have a small demo windows forms application, which has 2 forms.
1)enter a name in the first form, which will add the name to a table in the database. The back-end used is SQL Server 2008.

2)After successful entry in the database, the user is prompted to the second form, which is basically a demo calculator.

My question is how can I deploy this project to some other machine. Wana create a normal executable file, in the other machine.

I was able to deploy one another windows forms app, which was without a SQL database connection, by using the Setup and Deployment wizard of the VS 2008.

Also, does the other machine would have to have certain pre-requisites, like presence of SQL server in it?

I googled, but could not find meaningful results.

Any assistance or an external pointer to this scenario would be highly appreciated.

regards
anurag

推荐答案

嗨Anurag,

我认为您的问题不是部署您的应用程序。如果您有SQL连接问题,您必须配置您的SQL服务器设置(远程访问)。

您是否将其配置为远程访问?



此外,如果你想要一个替代部署,你可以尝试点击部署技术。

[ clickonce的更多详细信息]
Hi Anurag,
I think your problem is not deployment of your application. If you have a sql connection problem you must configure your sql server settings(remote access).
Did you configure it for remote access?

In addition,
if you want an alternative deployment you may try clickonce deployment technologies.
[more detail for clickonce]


这篇关于在另一台计算机上部署Windows窗体项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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