Go Premium for a chance to win a PS4. Enter to Win


What's the best/closest language to VB6 I can learn to develop web apps?

Posted on 2012-04-11
Medium Priority
Last Modified: 2012-06-27
I am a fluent VB6 coder and write a lot (and only) of standalone EXE VB6 apps that run on client PC's.  I need to begin writing web applications.  What language (if any) supports the most re-use of my mastered coding syntax for VB6?  Not necessarily looking for conversion tools to transcode existing VB6 apps to a web enabled language, but importantly to allow me to "just code" using the same coding syntax as much as possible so I won't have a lot of re-learning just how to write for/next loops, variable array tables, and working with objects such as combo boxes, text boxes, message boxes, radio buttons, all the GUI controls of VB6 that I will need to display and act developing  using a web application.  I'm very confused - reading things like 'create activeX dll's or components from your existing VB6 apps that will allow them to run on a web page instead of standalone on the PC...'   Or that asp.net, or vb.net is what I need to learn to write apps as robust as VB6 in a web browser rather than standalone on a PC.  The language needs to allow (maybe they all do) interaction with the client PC via file uploads/downloads, maybe some light PC-based  or browser-based execution, and be ability to interact with the web server or other network databases, the same basic robust featureset of any standalone VB exe.  Can anyone confirm if there is an obvious choice for me, or if none are close enough syntax-wise and all require a considerable learning curve to make web applications look or function like VB6 standalone EXEs?
Question by:mizetreestump1
LVL 17

Expert Comment

ID: 37832648
ASP is the language you should go for...
LVL 17

Expert Comment

ID: 37832650
Moving from Visual Basic to ASP.NET

LVL 25

Expert Comment

by:Luis Pérez
ID: 37832674
The closest to what you want is, without any doubt, classic ASP using vbscript as client/server script. But you must consider that classic ASP is an almost-dead technology, and that you can get a lot of advantages if you change to ASP.net with VB.net. The main disadvantage of this option is that ASP.net/VB.net learning curve probably will be much bigger than classic ASP/vbscript.

Hope that helps.
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 34

Expert Comment

by:Paul MacDonald
ID: 37832690
Classic ASP is closest, with ASP.Net (VB) being next closest (and more modern).

Accepted Solution

quiklearner earned 1200 total points
ID: 37833970
When moving from vb6 standalone exe to a web project, the simplest move will be to do a vb "IIS Application" type project. This will translate a decent portion of your code and will keep the identical environment youre looking for. However there will still be a learning curve as with this new project type within vb comes different execution routines and different resource access. You will have to learn HTML, deal with session states for access of variables across muiltiple pages but for possible direct code reuse, this will be where you want to go. The next closest would be to directly write raw .asp pages which is a text only based process using a direct combination of both HTML and VBS (note not full VB6 but VBS), and lastly would be the biggest move to ASP.NET. Caution though; the platforms listed here as possible options are and will be dying in that exact order: IIS Application, raw .asp, ASP.NET. This means that moving forward you may have platform compatibility problems more so with the IIS Application, a little less likely with the .asp and not very likely with ASP.NET since depending on the .NET framework you are using, this platform is still currently directly supported. But basically to sum it all up: The code you have will not directly translate into much useful web code and if you go with an approach that closely mirrors youre current environment you will have to learn a considerable amount about HTML and IIS regardless. The safest bet if you actually want the final result to work well for as long as possible and dont want to learn a whole bunch of new stuff, would be to bite the bullet and move to ASP.NET. I know the learning curve between vb6 and vb.net is higher that VB6 to VBS, but those solutions will require more internal knowledge of IIS and HTML.

Assisted Solution

darjimaulik earned 800 total points
ID: 37836930
You can go with VB.Net.
There are lots of similarity between VB6 and VB.Net in terms of Syntax. So it will be lot easier for you to learn.
At any moment you want to develop an application which runs on client machine then you can go for Smart Client Application which you can create easily using .Net Platform.
Upload and download files are very easy compare to ASP. There are tonnes of inbuilt facility to complete the tasks for which you require 3rd party component in ASP.
You will find lots of free code online. Plus you will get big community support for VB.Net.

Author Closing Comment

ID: 37844477
Thank you for the comments - This will guide me into my next language

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Dramatic changes are revolutionizing how we build and use technology. Every company is automating, digitizing, and modernizing operations. We need a better, more connected way to work together as teams so we can harness the insights from our system…
The purpose of this video is to demonstrate how to manually back up a WordPress Database. This will be demonstrated using a Windows 8 PC. The Host used will be IPage.com Log into your Hosting account. IPage will be used for demonstration : Locat…
The purpose of this video is to demonstrate how to add AdSense Ads to a WordPress Website, and how to set up WordPress to automatically place Ads in Sidebars. This will be demonstrated using a Windows 8 PC. Log into your AdSense account. : Cli…
Suggested Courses

886 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question