Book description
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
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
Supplementing this focus on VBScript language essentials is a wealth of additional information about VBScript, including:
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.
Publisher resources
Table of contents
-
VBScript in a Nutshell
- Preface
-
I. The Basics
- 1. Introduction
- 2. Program Structure
- 3. Data Types and Variables
- 4. Error Handling and Debugging
- 5. VBScript with Active Server Pages
- 6. Programming Outlook Forms
- 7. Windows Script Host
- 8. VBScript with Internet Explorer
-
II. Reference
-
9. The Language Reference
- Abs Function
- Array Function
- Asc, AscB, AscW Functions
- Atn Function
- Call Statement
- CBool Function
- CByte Function
- CCur Function
- CDate Function
- CDbl Function
- Chr, ChrB, ChrW Functions
- CInt Function
- Class Statement
- CLng Function
- Const Statement
- Cos Function
- CreateObject Function
- CSng Function
- CStr Function
- Date Function
- DateAdd Function
- DateDiff Function
- DatePart Function
- DateSerial Function
- DateValue Function
- Day Function
- Dictionary Object
- Dictionary.Add Method
- Dictionary.CompareMode Property
- Dictionary.Count Property
- Dictionary.Exists Method
- Dictionary.Item Property
- Dictionary.Items Method
- Dictionary.Key Property
- Dictionary.Keys Method
- Dictionary.Remove Method
- Dictionary.RemoveAll Method
- Dim Statement
- Do . . . Loop Statement
- Drive Object
- Drives Collection Object
- End . . . Statement
- Erase Statement
- Err Object
- Err.Clear Method
- Err.Description Property
- Err.HelpContext Property
- Err.HelpFile Property
- Err.Number Property
- Err.Raise Method
- Err.Source Property
- Escape Function
- Eval Function
- Execute Statement
- Exit Statement
- Exp Function
- File Object
- File.Copy Method
- File.Delete Method
- File.Move Method
- File.OpenAsTextStream Method
- File System Object Model
- Files Collection Object
- FileSystemObject Object
- FileSystemObject.BuildPath Method
- FileSystemObject.CopyFile Method
- FileSystemObject.CopyFolder Method
- FileSystemObject.CreateFolder Method
- FileSystemObject.CreateTextFile Method
- FileSystemObject.DeleteFile Method
- FileSystemObject.DeleteFolder Method
- FileSystemObject.DriveExists Method
- FileSystemObject.Drives Property
- FileSystemObject.FileExists Method
- FileSystemObject.FolderExists Method
- FileSystemObject.GetAbsolutePathName Method
- FileSystemObject.GetBaseName Method
- FileSystemObject.GetDrive Method
- FileSystemObject.GetDriveName Method
- FileSystemObject.GetExtensionName Method
- FileSystemObject.GetFile Method
- FileSystemObject.GetFileName Method
- FileSystemObject.GetFileVersion Method
- FileSystemObject.GetFolder Method
- FileSystemObject.GetParentFolderName Method
- FileSystemObject.GetSpecialFolder Method
- FileSystemObject.GetStandardStream Method
- FileSystemObject.GetTempName Method
- FileSystemObject.MoveFile Method
- FileSystemObject.MoveFolder Method
- FileSystemObject.OpenTextFile Method
- Filter Function
- Fix Function
- Folder Object
- Folder.Copy Method
- Folder.CreateTextFile Method
- Folder.Delete Method
- Folder.Move Method
- Folders Collection Object
- Folders.Add Method
- For . . . Next Statement
- For Each . . . Next Statement
- FormatCurrency, FormatNumber, FormatPercent Functions
- FormatDateTime Function
- Function Statement
- GetObject Function
- GetRef Function
- Hex Function
- Hour Function
- If . . . Then . . . Else Statement
- Initialize Event
- InputBox Function
- InStr, InStrB Functions
- InstrRev Function
- Int Function
- Is Operator
- IsArray Function
- IsDate Function
- IsEmpty Function
- IsNull Function
- IsNumeric Function
- IsObject Function
- Join Function
- LBound Function
- LCase Function
- Left, LeftB Functions
- Len, LenB Functions
- LoadPicture Function
- Log Function
- LTrim Function
- Match Object
- Matches Collection Object
- Me Operator
- Mid, MidB Functions
- Minute Function
- Month Function
- MonthName Function
- MsgBox Function
- Now Function
- Oct Function
- On Error Statement
- Option Explicit Statement
- Private Statement
- Property Get Statement
- Property Let Statement
- Property Set Statement
- Public Statement
- Randomize Statement
- ReDim Statement
- RegExp Object
- RegExp.Execute Method
- RegExp.Global Property
- RegExp.IgnoreCase Property
- RegExp.Pattern Property
- RegExp.Replace Method
- RegExp.Test Method
- Rem Statement
- Replace Function
- RGB Function
- Right, RightB Functions
- Rnd Function
- Round Function
- RTrim Function
- ScriptEngine Function
- ScriptEngineBuildVersion Function
- ScriptEngineMajorVersion Function
- ScriptEngineMinorVersion Function
- Second Function
- Select Case Statement
- Set Statement
- Sgn Function
- Sin Function
- Space Function
- Split Function
- Sqr Function
- StrComp Function
- String Function
- StrReverse Function
- Sub Statement
- Tan Function
- Terminate Event
- TextStream Object
- TextStream.Close Method
- TextStream.Read Method
- TextStream.ReadAll Method
- TextStream.ReadLine Method
- TextStream.Skip Method
- TextStream.SkipLine Method
- TextStream.Write Method
- TextStream.WriteBlankLines Method
- TextStream.WriteLine Method
- Time Function
- Timer Function
- TimeSerial Function
- TimeValue Function
- Trim Function
- TypeName Function
- UBound Function
- UCase Function
- Unescape function
- VarType Function
- Weekday Function
- WeekdayName Function
- While . . . Wend Statement
- With Statement
- Year Function
-
9. The Language Reference
-
III. Appendixes
- A. Language Elements by Category
- B. VBScript Constants
- C. Operators
- Index
- Colophon
Product information
- Title: VBScript in a Nutshell
- Author(s):
- Release date: May 1995
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781565927209
You might also like
book
Designing Data-Intensive Applications
Data is at the center of many challenges in system design today. Difficult issues need to …
book
Building Microservices, 2nd Edition
As organizations shift from monolithic applications to smaller, self-contained microservices, distributed systems have become more fine-grained. …
video
React - The Complete Guide (Includes Hooks, React Router, and Redux) - Second Edition
**This course is now updated for the latest version of React—React 18** React.js is the most …
video
Angular - The Complete Guide [2023 Edition]
Learn all the fundamentals you need to know in order to get started developing Angular applications …