Click here to Skip to main content
15,892,059 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a windows based form created in VB.NET. Can I call this form in an asp.net page? ALso, if I want to call a VB.NET project in ASP.NET, is there a way to do it?
Posted
Updated 9-Mar-10 1:00am
v2

No, they are seperate environments. If you seperate the the logic from the form you can of course use that in ASP.NET
 
Share this answer
 
Actually, depending upon how complex your vb.net project is...there is a way to kind of call it from an asp.net website. If you publish your vb.net windows based project using ClickOnce[^] and then setup your asp.net website to include a page that has a link to the published ClickOnce location it can give that effect. There are even ways to pass parms from the asp.net into the vb.net when it launches.

There are also a bunch of Code Project Articles[^] for ClickOnce that might guide you in the right direction.

Hope this helps.
 
Share this answer
 
Hello Kschuler ,

Thanks for the reply. Actually I already have a full fledged VB6 applciation (like an inventory system) that is working perfectly.
I want to make it web based. Will the clickOnce help me do that? i mean when I call the vb applciation from an asp.net web page, will the whole application (iuncluding the forms and their events etc.) run the way it does in VB6 ?

Thanks
 
Share this answer
 
It depends on your application. If you are trying to tie into one single database for all users who use the PC application this is probably not a solution for you. However, if your application is intended to have a separate database from other people running the application it might be what you are looking for.

Hope this helps.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900