Hi there, thanks for viewing this thread.

I would like to know whether it is really impossible to show Windows Form inside a Web application. I would like to display a Windows Form (C#) into a Web application (C# .NET) and I am using Visual Studio.

Did you make such an application before? I know that perhaps it would be impossible as one is a Windows app and one is a web application. Would it possible I can make the Windows Application share across the internet so when client access the URL, they can also somehow the windows form application can be embedded in the Web application.

Your advice will be greatly appreciated. Looking forward to your reply over here.

Do enlighten me if I have post this question at the wrong section!

I've never seem embebed windows applications in web pages. And it's probably because it doesn't make much sense.

Maybe you could convert the windows form to an silver light app. Then browsers with the plugin would be abble to run it.

But anyway, why would you want to run a windows form app inside a browser?

@AleMonteiro, thanks for the reply. I will look into silverlight.

I did saw some threads/guides (https://www.google.com.sg/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=show%20windows%20forms%20in%20aspnet) discussion on displaying the Windows Form in the Web Form.

I could see that "Windows Control Library" can be display in the web form by using the OBJECT tag <object id="MyWinControl" classid="http:UserControl1.dll#UserControl1.UserControl1" VIEWASTEXT/>. I tried to use the object tag but could not make it. Anyone used similar to this URL before --> http://weblogs.asp.net/spano/hosting-a-windows-form-control-in-a-web-page

Sorry if my post is not that clear.

This article has been dead for over six months. Start a new discussion instead.