Difference Between VB and VBScript

VB vs. VBScript

Visual Basic (also known as VB) is an event driven programming language. This is the third generation of such language and is also an integrated development environment (or IDE). It comes from Microsoft and is used specifically for its programming model –COM. It is lauded as a simple language to learn because of its BASIC heritage and its graphical development features. VB enables rapid application development (or RAD) of GUI applications; access to databases using Data Access Objects, Remote Data Objects, or ActiveX Data Objects; and the creation of ActiveX controls and objects.

Visual Basic Scripting Edition (also known as VBScript) is an Active Scripting language that was developed by Microsoft. It uses the Component Object Model to access elements of the environment in which it is running –for example, FileSystemObject (or FSO) is used to create, read, update, and delete files. This language’s syntax is a reflection of its origins as a limited variation of VB. It is installed by default on every desktop release of Microsoft Windows, as part of the Windows Server, and with Windows CE –depending on what device it is installed). It must be executed in the host environment. The VBScript environment itself is embeddable in other programs through such technologies as Microsoft Script control.

VB was conceived to come as naturally as a language for programming beginners. Because of its ease of use, it is capable of both allowing programmers to create basic GUI applications and develop complex applications. In VB multiple assignment is not a possibility. Also, the numeric value of the Boolean constant ‘True’ is -1. In VB, logical and bitwise operators are unified. Also, VB contains a variable array base and strong integration with Windows.

VBScript functions similarly to JavaScript –it is a language which writes executable functions which are embedded in or included from HTML pages. These functions interact with the Document Object Model (or DOM) in order to perform tasks that are otherwise impossible in HTML alone. VBScript is also known to be able to create applications which run directly on a user’s computer if that computer is running Microsoft Windows.

Summary:

1. VB is an event driven programming language that was designed to make computer programming easier for programming beginners; VBScript is an active scripting language that uses COM to access elements of the environment in which it is running.

2. VB does not have the possibility of multiple assignment, but does contain a variable array base and strong integration with Windows; VBScript functions as a language which writes executable functions that are embedded in or included from HTML pages, and is known to create applications which run directly on a user’s computer if that computer is running Microsoft Windows.