VBScript

VBScript Projects

VBScript Project 1

VBScript Examples

VBScript EXAMPLE

adplus-dvertising
VBScript

R4R provide basic VBScript Tutorials concept withVBScript Examples .Through R4R you can develop VBScript programming concept. R4R provideVBScript Interview Questions with answers.R4R provide VBScript Languages study materials in easy way.

Introduction of VB Script

VBScript (Visual Basic Scripting Edition) is a scripting language developed by Microsoft for Windows operating systems. VBScript, the newest member of the Visual Basic family of programming languages .Visual Basic Script is a scripting language designed to enhance HTML pages and provide functionality such as data validation, forms and interaction with Active X objects. It is a subset of Visual Basic, and embedded into an HTML document and interpreted by the client browser. At this time, only Internet Explorer supports VBScript.

History of VBScript

VBScript began as part of the Microsoft Windows Script Technologies, launched in 1996. This technology (which also included JScript) was initially targeted at web developers. During a period of just over two years, VBScript advanced from version 1.0 to 2.0, and over that time it gained support from Windows system administrators seeking an automation tool more powerful than the batch language first developed in the late 1970s.The version 3.0 of MS Internet Explorer has supported both JavaScript and VBScript.

After some time, the latter version was called as version 5.0. VBScript was very much welcomed by various system administrators all around the world. Microsoft incorporated many features in the Version 5.0 of VBScript like inclusion of regular expressions, with statements, global functions, classes and much more. Currently, VBScript is managed and maintained by a special team of Microsoft; also called as the Microsoft’s Sustaining Engineering Team. This team is currently responsible for fixing all the bugs and for taking care of various security features.

Difference Between VBScript and Javascript
Javascript VBScript
Javascript case sensitive VBScript not case sensitive
Javascript will be run on client side VBScript will be run on server side
JavaScript is the default scripting language for browsersVBScript must be specified as the scripting language.
JavaScript has cross-platform support from all popular browsersVBScript is supported MS IE only
JavaScript uses the same character for concatenation as it does for addition (the + character) the '&' concatenating character is used in VBScript
VBScript allows you to define public/private members in classes,whereas in JavaScript, all members are (basically) public.
VBScript supports passing "by reference"JavaScript only allows passing "by value."
Similarities
  • Both languages are easy to learn and do not require any expensive development tools
  • Both can be used to enhance web pages
  • They run on client machines and can substitute CGI programs to reduce server loads
  • Both can abuse and run malicious scripts on clients' machines
  • Simple Example Of VbScript
    
    <HTML>
    
    <HEAD>
    
    <TITLE>My Company Name</TITLE>
    
    <SCRIPT LANGUAGE="VBScript">
    
    <!--
    document.write("R4R TECHSOFT PVT. LTD. (Ghaziabad,INDIA)")
    -->
    
    </SCRIPT>
    
    </HEAD>
    
    <BODY>
    
    
    Advantage of VBScript
  • No installation required This is the number one reason VBScript is so widely used. Since you can run VBScript code on any Windows 2000 and later computer without needing to install anything, this makes it much easier to support on a lot of computers.
  • Popular on Windows Because VBScript comes out of the box with Windows and was developed by Microsoft, naturally there is better support for it.
  • Built-in support for COM Automation and WSH.
  • Readable
  • VBScript code is generally very readable. Here is some sample VBScript code that should be pretty easy for even non-programmers to decipher
    Disadvantage of VBScript
  • Limited command-line parsing and GUI support.
  • Limited third-party module/add-on support.
  • No command-line code execution support.
  • VBScript Tutorials
    VBScript Examples
    VBScript Interview Materials