[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


Moving from VB to .Net

Posted on 2005-05-15
Medium Priority
Last Modified: 2010-04-23
Dear All,

We currently use VB + SQL Server to create all our business applications. We are now considering moving to .Net technologies for our next project but have little expertise. The proposed project will be a multi-user, multi-location application with a central SQL Server database. Should we create a VB.Net application or an ASP.Net web-based application? Can web-based applications access devices such as barcode readers?  Does ASP.Net have the standard controls like grids, menus etc? What tools would we need to buy other than Visual Studio .Net? Any info would be much appreciated.

Thanks in advance!
Question by:vbtiger

Expert Comment

ID: 14008054
Hi vbtiger,

 Only if the device is connected to the server, and will not be able to access the clients devices unless you write ActiveX objects to be inside the browser, which will mean you'll need to get signatures for these to run in the browser.

 But yes its possible for either solution to work. Using asp.Net would make it slower to access, than a vb.net client/server application.

LVL 19

Accepted Solution

arif_eqbal earned 375 total points
ID: 14008082
And yes .NET contains all the usual controls Menus, Grids and much more.

Now for the type of application that you plan to make, I would suggest to go for a combination of VB.NET and ASP.NET.
One Clear advantage that ASP.NET gives is web based access so you can work from your home or from your favourite pub :-)

But then it puts in serious limitations as well (mostly due to security reasons), so naturally your Bar Code Reader will be a headache if you go for a completely web based solution.

Now in a hybrid sort of a solution what yo do id carefully design what part needs to be in VB.NET and what can be on the Web. For eg You naturally don't require to scan products/packets using Barcode Reader if you are working from your Home.
So that part can be with the VB.NET client program running on all Office machines. The ASP.NET will host information to be accessed from every where, or an occassional data entry etc.

Now integration of the two is not going to be an issue for you as in any case, you are planning to have only one SQL Server centrally located.

LVL 44

Assisted Solution

Arthur_Wood earned 375 total points
ID: 14009928
you might also want to look into using WEB SERVICES, have the local VB.NET app on each of the remote workstations, and interact with the database via web services, which can be implemented in a VB.NET EXE or in a web page.  That way your local VB.NET exe can work with the local barcode reader, and then send the information to the central database using the web services.

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

LVL 27

Expert Comment

ID: 14009950

Here is where I found good examples for getting started in VB.Net


Link for ASP programs...



Author Comment

ID: 14016214
Hi Arthur,

What is the advantage of using web services over an ADO connection to the remote database?

LVL 44

Expert Comment

ID: 14020458
web services allow you to have a LOCAL exe (as opposed to w web-based application) carry out the local handling, and does not involve opening an ADO Connection to the remote database.  What kind of network are you working with?

If you are working with a Local barcode reader, it is much easier to access the reader with a local EXE than to try to access the barcode reader with a web-app.  There are all kinds of nasty security issues that arise when you attempt to connect a local device (like a bar code reader) to a client web page.


Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

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

Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Screencast - Getting to Know the Pipeline
Suggested Courses
Course of the Month20 days, 6 hours left to enroll

873 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