What Is VBScript? - Microsoft® Visual Basic® Scripting Edition

> ### What Is VBScript?

> ##### Summary

> > Here you'll find a description of Microsoft® Visual Basic® Scripting Edition (VBScript), and an overview of the Visual Basic Product line.

> > In the other tutorial sections you'll first see what VBScript looks like when it's inside an HTML page. You'll learn about variables, constants, and procedures. Then you'll see how to use VBScript to handle standard HTML form controls and to validate data. Finally, you'll see how to extend the power of your pages with ActiveX™ Controls (formerly called OLE controls) and other objects.

> ##### VBScript

> > VBScript, the newest member of the Visual Basic family of programming languages, brings active scripting to the Web. Microsoft Internet Explorer version 3.0 can read VBScript programs embedded in HTML pages. With VBScript, you can validate form data, automatically generate custom pages, or even write games—all from inside your Web pages and without server-side programming.

> > ###### Easy to Use and Learn

> > If you already know Visual Basic or Visual Basic for Applications, VBScript will be very familiar. Even if you don't know Visual Basic, once you learn it you're on your way to programming with the whole family of Visual Basic languages.

> > Although you can learn about VBScript in just these few Web pages, they don't teach you how to program. To get started programming, take a look at Visual Basic Step by Step, available from Microsoft Press.

> > ###### ActiveX™ Scripting

> > VBScript talks to host applications using ActiveX™ Scripting. ActiveX™ Scripting prevents browsers and other host applications from needing to write special integration code for each scripting component. ActiveX™ Scripting enables a host to compile scripts, obtain and call entry points, and manage the namespace available to the developer. With ActiveX™ Scripting, language vendors can create standard language run times for scripting. Microsoft will provide runtime support for VBScript and Visual Basic. Microsoft is working with various Internet groups to define the ActiveX™ Scripting standard so that scripting engines can be interchangable. ActiveX™ Scripting is used in Microsoft Internet Explorer 3.0.

> > ###### VBScript in Other Applications and Browsers

> > As a developer, you may license VBScript's source implementation at no charge for use in your products. Microsoft will provide binary implementations of VBScript for the 32-bit Windows® API, the 16-bit Windows API, and the Macintosh® in early 1996. VBScript is integrated with World Wide Web browsers, and is designed to work with ActiveX™ Controls and other objects embedded in active HTML documents. VBScript and ActiveX™ Scripting, can, however, also be used as a general scripting language in other applications. See the "Hosting Visual Basic Scripting Edition" page for more information.

> ##### The Visual Basic Product Line

> > Microsoft has designed Visual Basic as a scalable development tool for a range of applications, including Internet and Enterprise applications. Visual Basic can be used to create active HTML documents, customize productivity products, and build client/server business applications.

> > To support a full range of applications, Microsoft provides Visual Basic in three upwardly compatible packages:

> > ###### VBScript

> > This lightweight subset of the Microsoft Visual Basic programming language will be licensed to corporations free of charge. Microsoft will provide VBScript on Windows and Macintosh platforms, and is working with third parties to provide Unix® versions for Sun®, HP®, Digital, and IBM® platforms. VBScript is packaged as a compiler and associated run-time libraries. Microsoft does not currently provide integrated development support tools (such as editing, layout, and debugging tools) for VBScript. Microsoft anticipates that VBScript will be available to licensees and other interested parties in early 1996.

> > ###### Visual Basic for Applications

> > Visual Basic for Applications is Microsoft's strategic application scripting language. This highly extensible language uses Automation (formerly OLE Automation) to use and program objects. Visual Basic for Applications provides a complete development environment, including integrated editor and debugging support. Visual Basic for Applications is currenlty available only with the Microsoft Office family of products for Windows and the Macintosh.

> > ###### Visual Basic Version 4.0

> > The Visual Basic development tool is available in three editions: the Standard Edition for students and hobbyists, the Professional Edition for individual developers, and the Enterprise Edition for developer teams or corporate development. Visual Basic version 4.0 provides a superset of the language and tool functionality found in Visual Basic for Applications. The key Enterprise product features include client/server data access, distributed computing (for example, three-tier) support, and team source code control support.Visual Basic version 4.0 is currently available only for the Windows platform.

> © 1996 by Microsoft Corporation.