R4R provide basic VBScript Tutorials concept with
VBScript Examples .
Through R4R you can develop VBScript programming concept. R4R provide
VBScript 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
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.
must be specified as the scripting language.
VBScript is supported MS IE only.
addition (the + character) while the '&' concatenating character is used in
- VBScript allows you to define public/private members in classes, whereas
passing "by value."
1. Both languages are easy to learn and do not require any expensive
2. Both can be used to enhance web pages
3. They run on client machines and can substitute CGI programs to reduce server
4. Both can abuse and run malicious scripts on clients' machines
Simple Example Of VbScript:
<TITLE>My Company Name</TITLE>
document.write("R4R TECHSOFT PVT. LTD. (Ghaziabad,INDIA)")
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.
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:
Show All Comments
- Limited command-line parsing and GUI support.
- Limited third-party module/add-on support.
- No command-line code execution support.