Is it possible to run vb.net in web?

  • Thread starter Thread starter Ray
  • Start date Start date
R

Ray

Dear all,
Now I have used vb.net to write an application. Except from deploying the
application in client pc, is it possible to run the application in the web?
Or is it possible to change the code to asp.net?

Thanks a lot,
Ray
 
Ray said:
Now I have used vb.net to write an application. Except from deploying the
application in client pc, is it possible to run the application in the
web?

In future:

Introducing Client Application Deployment with "ClickOnce"
<URL:http://msdn.microsoft.com/library/en-us/dnwinforms/html/clickonce.asp>

Currently:

<URL:http://msdn.microsoft.com/library/en-us/dv_vstechart/html/vbtchno-touchdeploymentinnetframework.asp>

Changing your application to ASP.NET will (at least) require a redesign of
your application's UI layer.
 
Ray said:
Dear all,
Now I have used vb.net to write an application. Except from deploying the
application in client pc, is it possible to run the application in the web?
Or is it possible to change the code to asp.net?

Thanks a lot,
Ray

There's no wizard just allows you to convert from win to web.

Converting it would likely mean a complete redesign and rewrite. If
you seperated out user interface from business and data logic then this
could possibly "just" mean changing the UI. If you didn't then bits
and bobs of code could probably be cut and pasted... I'd guess you'll
probably need to learn a fair old bit about web design. That and the
rewrite might take some time.

You could potentially run the thing using terminal server. With this,
the app runs on the server and the client pc pretty much acts as...
well.... a dumb terminal. How practical this would be depends on
things like how many concurrent users you have and how much memory
they'll all be chomping up on that server. Oh. As well as having a
server etc...
 
Ray,

You can use a vbnet application to use that with Internet in combination
with webservices.

A nice walkthrough for that
http://msdn.microsoft.com/library/d...atingdistributedwebapplicationwalkthrough.asp

Changing the code to ASPNet is in my opinion mostly more work than writing
ASPnet applications new, that because of the stateless art of the ASPNet
application.

(You can see that as if every Webform application is minimal a two tier
while for a Windowform application that is a single tier.)

I hope this helps?

Cor


"Ray" <[email protected]>

....
 
I am slightly confussed about this,

For example If I had a working VB.net Windows Application and wanted it to
show in a browser window ( I have seen this done) how would I do it? Or at
least what would I look up in MSDN.

Thanks.
 
Michael,
For example If I had a working VB.net Windows Application and wanted it to
show in a browser window ( I have seen this done) how would I do it? Or at
least what would I look up in MSDN.

I am about that as curious as you because I have never seen doing that with
VBNet.

Cor
 
Michael Turner said:
For example If I had a working VB.net Windows Application and wanted it to
show in a browser window ( I have seen this done) how would I do it? Or at
least what would I look up in MSDN.

Are you sure the Windows Forms form ran inside the browser? I doubt that
this is possible. What you can do is starting .NET Windows Forms
applications by clicking a link in the browser or by pointing the address to
the EXE file, or you can embed a Windows Forms control inside a webpage.
 
It is technically possible to have a windows form run on a remote
machine through the browser. You would have to create an active x
control for the browser to do this. It can also be accomplished through
a Java Applet. To be honest with you if you are having trouble
converting a simple app over to a web app you probably would have a very
hard time writing such an active x control or a java applet. One way to
do this with an active x control is to have the control actually copy
the app and run it on the client machine in a given context. The up side
on this is once you had created your active x you could sell it. There
are products for sell out there that do this sort of thing. I actually
used java applets that do this sort of thing. The one I used brought
the entire desktop forward. Every single window on the screen has a
windows handle. so isolated a single window would not be hard for an
applet. Remember applets are actually windows programs that run in the
contex of the browser.

I know this isn't the answer you are looking for but it is the truth.
You should consider Terminal services or Cirex. I'm not sure I spelled
cirex correctly. Cirex is actually very expensive and terminal services
is not free and demands tremendous resources. You would need a
dedicated server for either implementation.

Wiz
 
I know this isn't the answer you are looking for but it is the truth.
You should consider Terminal services or Cirex. I'm not sure I spelled
cirex correctly. Cirex is actually very expensive and terminal services
is not free and demands tremendous resources. You would need a
dedicated server for either implementation.

Citrix?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top