Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Windows Form to Web Form

Status
Not open for further replies.

richself

Technical User
Jun 27, 2005
37
US
I have a program I've done in a Windows Form. What's the easiest way to convert it to a Web form/ASP.Net? It it possible with out re coding everything?

Thanks
 
ASP.NET <> VB.NET

U yse at code-behind either J# or C# or VB.NET. IF this windows app uses IO exceptions will be thrown (webapp <> winapp).


Create a web app and create the same interface as the win's app. Change the IDs of each used control and copy'n paste the code.
 
or,

1.open a new project type=class library.
2.remove the class file.
3.add the code files and the forms.
4.save it and at the bin directory there will be a dll.
5.create a simple windows form out of this project (new one) with a single button. The button code should do a direct cast of this dll. The windows form that will appear will be cached in user's RAM.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top