在Web应用程序中添加Windows窗体模块。 [英] Add windows form module in Web application.

查看:79
本文介绍了在Web应用程序中添加Windows窗体模块。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在Web应用程序中链接Windows表单模块?

如果可以使用Web服务,那么我可以使用Web服务吗?



请任何人帮我紧急

How to link windows form module within Web application?
If it is possible using Web Services, than how i can use web service?

Pls anyone help me its urgent

推荐答案

如果你想从windows(桌面)应用程序显示一个表单,那么答案是 - 你不能!

如果你想要的只是访问已经编写的应用程序中的一些功能而不是你可以这样做:

1.公开功能。 ..

2.编写一个webservice / web方法,根据需要包装该功能并格式化结果...

3.从您的Web应用程序中调用webservice.webmethod从第2步...

重要!如果你的Windows(桌面)应用程序有UI,你应该有问题按原样运行它,你可能不得不重新设计它(服务器不喜欢从非交互式凭证运行UI)...
If you want to display a form from a windows (desktop) application, than the answer is - you can not!
If all you want is to access some functionality inside a already written application than you can do these:
1. Make the functionality public...
2. Write a webservice/webmethod that wrap that functionality and formats the result according your need...
3. From your web application call the webservice.webmethod from step 2...
Important! If your windows (desktop) application has UI, you should have problem to run it as is and you may have to redesign it (servers are not like to run UI from a non-interactive credential)...


这篇关于在Web应用程序中添加Windows窗体模块。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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