Skip to content

VISUAL BASIC Vs VISUAL BASIC.NET

August 7, 2009
tags:
VISUAL BASIC
Visual Basic (VB) is an event driven programming language and associated development environment from Microsoft for its COM programming model. Visual Basic was derived from BASIC and enables the rapid application development (RAD) of graphical user interface (GUI) applications, access to databases using DAO, RDO, or ADO, and creation of ActiveX controls and objects. A programmer can build an application using the components provided with Visual Basic itself. Programs written in Visual Basic can also use the Windows API, but doing so requires external function declarations.
Visual Basic has one of the largest user bases. In a survey conducted in 2005, 62 percent of developers reported using some form of Visual Basic.
VISUAL BASIC.NET
Visual Basic .NET (VB.NET) is an object-oriented computer language that can be viewed as an evolution of Microsoft’s Visual Basic (VB) implemented on the Microsoft .NET framework.
VB Vs VB.NET
  1. VB6 was interpreter based language while VB.NET is a compiled language
  1. VB6 was not a type-safe language while VB.NET is a type safe language.
  1. VB6 used? On Error Goto? syntax to handle exceptions at runtime. VB.NET uses the Try?Catch?Finally syntax to handle exceptions at runtime.
  1. VB.NET has much enhanced object oriented support than VB6
  1. VB6 does not allow developing the multithreaded applications. In VB.NET you can create multithreaded applications.
  1. VB6 was only considered good for desktop windows application. In VB.NET you can also develop web applications, distributed applications, create .NET windows and web controls and components, write windows and web services.
  1. In VB.NET, you can also use reflections to read the meta-data of types and using reflection emit you can also generate code to define and invoke types at runtime.
  1. VB.NET uses .NET framework class library along with specialized VB library (System.VisualBasic) as a standard library. As a result, the standard library for VB.NET is much enhanced and useful compared to VB6 standard library
  1. VB.NET is platform independent because of .Net framework. Programs written in VB.NET can run on any platform where .Net framework is present. The platform include both hardware and software (operating system) platforms.
  1. VB6 uses COM (Component Object Model) as component architecture. VB.NET uses assemblies as its component architecture. The Assemblies architecture has removed a lot of problems with COM including DLL-Hell and versioning problem.
  1. Components created in VB6 (COM) need to make and update registry entries. VB.NET does not require any registry entry making the deployment easier
  1. VB6 used ASP to build web applications. VB.NET uses ASP.NET to build web applications.
  1. VB6 used ADODB and record-sets to implement data access applications. VB.NET uses ADO.NET and datasets to build data access applications. The ADO.NET also supports the disconnected data access.
Advertisements
No comments yet

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: