Visual Basic Script

Why Trust Techopedia

What Does Visual Basic Script Mean?

Visual Basic Script (VBScript) is a component-based scripting language developed by Microsoft. It is a light version of Visual Basic with a fast interpreter for use on Microsoft platforms. VBScripts use the Component Object Model (COM) to access the features of the environment where they are running. VBScripts are executed in the host environment.

Advertisements

Techopedia Explains Visual Basic Script

VBScript consists of procedures, control structures, constants, variables, date/time functions, etc. Procedures are the main construct of a VBScript, which allows codes to be divided into small modules. Control structures in VBScript use iterative and conditional do-loop construct, if-then-else statements, case statements, etc. Variables in VBScript have a variant type by default.

VBScript works like JavaScript, when used for client-side web development. It is also used for server-side processing of web pages, for example, the Microsoft Active Server Pages (ASP). While there are uses for IE only environments (say, for example, an Intranet), all other major browsers support JavaScript. As such, JavaScript is the preferred scripting language on a public facing website.

Advertisements

Related Terms

Margaret Rouse
Technology Expert
Margaret Rouse
Technology Expert

Margaret is an award-winning technical writer and teacher known for her ability to explain complex technical subjects to a non-technical business audience. Over the past twenty years, her IT definitions have been published by Que in an encyclopedia of technology terms and cited in articles by the New York Times, Time Magazine, USA Today, ZDNet, PC Magazine, and Discovery Magazine. She joined Techopedia in 2011. Margaret's idea of a fun day is helping IT and business professionals learn to speak each other’s highly specialized languages.