如何将一个vb.net项目的形式调用为asp.net并使之工作? [英] How to call a form of one vb.net project into asp.net and makes it work?

查看:126
本文介绍了如何将一个vb.net项目的形式调用为asp.net并使之工作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
我制作了一个asp.net应用程序,在其中我加入了两个vb.net项目.单击asp.net页面之一时,我必须调用vb.net 项目的调用形式.但是,当我单击该页面时,vb的形式正在打开,但是其控件没有出现.请帮我...

Hello everybody ,
I make one asp.net application where I join two vb.net projects. I''ve to call call forms of vb.net project when I click on one of asp.net page. But when I''m clicking on that page , the form of vb is opening but its controls are not appearing. Plz help me...

Dim frm as new clientchat.form1()
frm.show()


这里的clientchat是我的


here clientchat is my

vb.net

项目,而form1是它的形式.

等待您的答复.

project and form1 is the form of it.

Waiting for your reply.

推荐答案

我不认为您可以:您似乎正在尝试将Winforms代码包含在网站应用程序中.即使可以使用,该表单也会在服务器而不是客户端上打开,这会使您的Web托管公司恼火.

您想达到什么目的,以为您需要这个?
I don''t think you can: you appear to be trying to include Winforms code into a website application. Even if it could work, the form would be opened at the server, not the client, which will annoy the heck out of your web hosting company...

What are you trying to achieve, that you think you need this?


这篇关于如何将一个vb.net项目的形式调用为asp.net并使之工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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