Cover image for VBScript in a nutshell : a desktop quick reference
Title:
VBScript in a nutshell : a desktop quick reference
Author:
Childs, Matt.
Personal Author:
Edition:
First edition.
Publication Information:
Cambridge, Mass. : O'Reilly, [2000]

©2000
Physical Description:
xiii, 495 pages : illustrations ; 23 cm
General Note:
Includes index.
Language:
English
ISBN:
9781565927209
Format :
Book

Available:*

Library
Call Number
Material Type
Home Location
Status
Central Library QA76.73.V27 C48 2000 Adult Non-Fiction Central Closed Stacks
Searching...

On Order

Summary

Summary

Microsoft's Visual Basic Scripting Edition (VBScript), a subset of Visual Basic for Applications, is a powerful language for Internet application development, where it can serve as a scripting language for server-side Internet applications (i.e., Active Server Pages), and client-side web pages. It can also be used for system scripting (i.e., Windows Script Host scripts) and programming Outlook forms.The greater part of this book is an alphabetical VBScript language reference to all VBScript statements, keywords and objects, emphasizing the following details:

The syntax, using standard code conventions A list of arguments accepted by the function or procedure, if any exist A description of the data returned by a function A discussion of how and where the keyword should be used within the scripting environment A section of notes and solutions to real-world gotchas, and various undocumented behaviors and aspects of the language that help the reader avoid potential problems A section that focuses on the differences between the language element in VBA and in VBScript A brief example to illustrate the use of the keyword Supplementing this focus on VBScript language essentials is a wealth of additional information about VBScript, including: Basic language information on VBScript data types, constants, variables, and arrays The difference between VBScript and VBA or JavaScript The use of the MSIE, Active Server, Outlook, and Windows Script Host object models to interface a script with the application it's controlling Tables listing VBScript functions and statements by category The version-specific features of VBScript Regardless of the types of scripts you're using VBScript to create, VBScript in a Nutshell is the only book you'll need by your side--a complete and easy-to-use language reference.


Table of Contents

Prefacep. vii
Part I The Basics
Chapter 1 Introductionp. 3
VBScript's History and Usesp. 4
What VBScript Is Used For: Gluing Together Objectsp. 5
Differences Between VBScript and VBAp. 9
Chapter 2 Program Structurep. 11
Functions and Proceduresp. 11
Class Modulesp. 22
The Script Levelp. 26
Reusable Code Librariesp. 30
Chapter 3 Data Types and Variablesp. 36
VBScript Data Types: The Many Faces of the Variantp. 36
Variables and Constantsp. 44
Chapter 4 Error Handling and Debuggingp. 65
Debuggingp. 67
Error Handlingp. 81
Common Problems Areas, and How to Avoid Themp. 87
Chapter 5 VBScript with Active Server Pagesp. 89
How ASP Worksp. 90
Active Server Pages Object Modelp. 93
Chapter 6 Programming Outlook Formsp. 101
Why Program Outlook Forms?p. 101
The Form-Based Development Environmentp. 102
Running Your Codep. 106
Program Flowp. 113
The Outlook Object Modelp. 114
Accessing Other Object Modelsp. 126
Chapter 7 Windows Script Hostp. 128
Why Use WSH?p. 128
Running WSH Scriptsp. 129
Program Flowp. 130
The WSH Object Modelp. 133
WSH Language Elementsp. 149
Accessing Other Object Modelsp. 150
Chapter 8 VBScript with Internet Explorerp. 153
The [SCRIPT] Tagp. 153
What Can You Do with Client-Side Scripting?p. 158
Understanding the IE Object Modelp. 165
Part II Reference
Chapter 9 The Language Referencep. 181
Part III Appendixes
Appendix A Language Elements by Categoryp. 449
Appendix B VBScript Constantsp. 461
Appendix C Operatorsp. 467
Indexp. 475

Google Preview