Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: WebForms
Hi,
 
I have developed an application with Visual Studio, in VB.Net, that has multiple Windows forms. I would like to convert this application to make it accessible through a web browser for remote access.
 
Ideally, I would like to keep as much as possible of my VB.Net code and just replace the windows forms. If I have to recreate the web forms to look like what I have now, I would prefer to have a tool that allows to do drag & drop of controls (button, listview, video streaming in a picture box, NumericUpDown, ComboBox, Textbox); I have briefly tried to use asp but I don't know it so it was a bit painful. If there are other languages or tools, I would prefer that.
 
Also, for the computer running the application, I would like to avoid using the IIS. If the application can be installed with the easiest environment, then it would be best. I expect Windows XP home or pro, window 7 and 8.
 
Any suggestion from the pros on this forum?
 
Thanks in advance.
Posted 28-Jan-13 6:43am
sutton1204
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

You cannot. You best bet will be reusing of the code unrelated to UI. Hope you isolated it well. The functionality of Web pages are very, very different from forms or windows. Main reason for it is the stateless nature of HTTP.
 
—SA
  Permalink  
v2
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

Hi Sutton,
 
To some extent it depends on your coding techniques.
What is clear is that all sides regarding the GUI would have to be re-written.
But if you have a solid well written generic Business Logic layer in pure code it can probably be used with minor configuration.
If you haven't decoupled your BL and GUI, at least you know now why one should Smile | :)

You mentioned you tried asp
. Is that classic asp or ASP.NET? note that ASP.NET as exactly what you mentioned, drag-n-drop controls to a form GUI with the Visual Studio IDE etc, very easy (and while we're at it, you can consider other technologies, like flash, silverlight, mvc)
 
As for your wish for avoiding IIS, it seems to me the simple solution for hosting a web app, it does all the work for you, simple as that.
Without IIS you'll have to manage the connections with the clients and the HTTP module etc, quite a hack.
But if you have other solutions you are more acquainted with that's fine.
 
Good luck
 
Cheers,
Edo
  Permalink  

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

  Print Answers RSS
0 OriginalGriff 587
1 Sergey Alexandrovich Kryukov 519
2 Maciej Los 315
3 Mathew Soji 195
4 BillWoodruff 180
0 OriginalGriff 7,356
1 Sergey Alexandrovich Kryukov 6,712
2 DamithSL 5,461
3 Manas Bhardwaj 4,916
4 Maciej Los 4,475


Advertise | Privacy | Mobile
Web03 | 2.8.1411023.1 | Last Updated 29 Jan 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100