Publisher: O'Reilly Media Released: March 2003 Pages: 512
Lightweight yet powerful, VBScript from Microsoft® is used in four main areas: server-side web applications using Active Server Pages (ASP), client-side web scripts using Internet Explorer, code behind Outlook forms, and automating repetitive tasks using Windows Script Host (WSH). VBScript in a Nutshell, Second Edition delivers current and complete documentation for programmers and system administrators who want to develop effective scripts. Completely updated for VBScript 5.6, WSH 5.6 and ASP 3.0, VBScript In a Nutshell, Second Edition includes updated introductory chapters that will help you keep current with the significant changes since the first edition was published. New chapters introduce the Windows Script Component for creating binary COM components, and the Script Encoder. The main part of the book is a comprehensive reference focusing on VBScript essentials with an alphabetical reference to all statements, keywords and objects, and a section of notes and solutions to real-world gotchas--various undocumented behaviors and aspects of the language--to help you avoid potential problems. Each entry in the reference section details the following: - The keyword's syntax, using standard code conventions
- A list of arguments accepted by the function or procedure, if any exist
- A discussion of how and where the keyword should be used within the scripting environment
- A discussion of the differences between the operation of the keyword in Visual Basic or VBA and in VBScript
Regardless of your level of experience programming with VBScript, VBScript in a Nutshell, Second Edition is the book you'll want by your side--the most complete, up-to-date, and easy-to-use language reference available. |
-
The Basics -
Chapter 1 Introduction - VBScript's History and Uses
- What VBScript Is Used For: Gluing Together Objects
- Differences Between VBScript and VBA
-
Chapter 2 Program Structure - Functions and Procedures
- Classes
- Global Code
- Reusable Code Libraries
-
Chapter 3 Data Types and Variables - VBScript Data Types: The Many Faces of the Variant
- Variables and Constants
-
Chapter 4 Error Handling and Debugging - Debugging
- Error Handling
- Common Problem Areas and How to Avoid Them
-
Chapter 5 VBScript with Active Server Pages - How ASP Works
- Active Server Pages Object Model
-
Chapter 6 Programming Outlook Forms - Why Program Outlook Forms?
- The Form-Based Development Environment
- Running Your Code
- Program Flow
- The Outlook Object Model
- Accessing Other Object Models
-
Chapter 7 Windows Script Host 5.6 - Why Use WSH?
- Running WSH Scripts
- Program Flow
- The WSH Object Model
- WSH Language Elements
- Accessing Other Object Models
-
Chapter 8 VBScript with Internet Explorer - The <SCRIPT> Tag
- What Can You Do with Client-Side Scripting?
- Understanding the IE Object Model
-
Chapter 9 Windows Script Components - The Script Component Wizard
- Writing Component Code
- Using the Component
- WSC Programming Topics
-
Reference -
Chapter 10 The Language Reference -
Appendixes -
Appendix A Language Elements by Category - Array Handling
- Assignment
- Comment
- Constants
- Data Type Conversion
- Date and Time
- Dictionary Object
- Error Handling
- File System Objects
- Information Functions
- Mathematical and Numeric
- Miscellaneous
- Object Programming
- Program Structure and Flow
- String Manipulation
- User Interaction
- Variable Declaration
-
Appendix B VBScript Constants - Color Constants
- Comparison Constants
- Date and Time Constants
- Date Format Constants
- Error Constant
- Logical and TriState Constants
- Message Box Constants
- String Constants
- Variable Type Constants
-
Appendix C Operators - Arithmetic Operators
- String Operator
- Comparison Operators
- Logical and Bitwise Operators
- Operator Precedence
-
Appendix D Locale IDs -
Appendix E The Script Encoder - How Encoding and Decoding Works
- Script Encoder Syntax
- Encoding Examples
-
Colophon |
- Title:
- VBScript in a Nutshell, 2nd Edition
- By:
- Paul Lomax, Matt Childs, Ron Petrusha
- Publisher:
- O'Reilly Media
- Formats:
-
- Print
- Ebook
- Safari Books Online
- Print:
- March 2003
- Ebook:
- February 2009
- Pages:
- 512
- Print ISBN:
- 978-0-596-00488-0
- | ISBN 10:
- 0-596-00488-5
- Ebook ISBN:
- 978-0-596-10414-6
- | ISBN 10:
- 0-596-10414-6
|
-
Paul Lomax Paul Lomax, author of O'Reilly's VB & VBA in a Nutshell and a coauthor of VBScript in a Nutshell, is an experienced VB programmer with a passion for sharing his knowledge--and his collection of programming tips and techniques gathered from real-world experience. View Paul Lomax's full profile page. -
Matt Childs Matt Childs is a vice president with Integrity Solutions Inc., one of Alaska's leading custom software development companies. Matt is responsible for overseeing all in-house development, and over the past year has worked with the State of Alaska and Alaska's two largest telecommunications companies. Matt has worked in the information technology field for nine years, and has been a VB programmer since Visual Basic 3. During most of his early career, Matt was an information technology manager for a large transportation company, where he developed custom software solutions and systems integration for the company's largest clients. Matt has industry experience with utilities; express transportation; and chemical, petroleum, and retail companies. In the winter, Matt spends his free time with his telescope, and during the long Alaska summer days, he enjoys playing softball and spending time with his family. Matt, his wife LeAndra and their daughter Meghan recently returned to Anchorage, Alaska, after spending some time in the southern United States. Matt is also a fiction writer and a freelance journalist. View Matt Childs's full profile page. -
Ron Petrusha Ron Petrusha is an editor for O'Reilly and is the author/coauthor of many books, including VBScript in a Nutshell. Ron has a background in quantitative labor history, specializing in Russian labor history, and holds degrees from the University of Michigan and Columbia University. He began working with computers in the mid 1970s, programming in SPSS (a programmable statistical package) and FORTRAN on the IBM 370 family. Since then, he has been a computer book buyer, an editor of a number of books on Windows and Unix, and a consultant on projects written in dBASE, Clipper, and Visual Basic. View Ron Petrusha's full profile page. |
Colophon Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects. The animal on the cover of VBScript in a Nutshell, Second Edition is a miniature pinscher. Known only to have existed in Germany up until about 100 years ago, the miniature pinscher is said to have descended from the German pinscher or is possibly a cross between the Italian greyhound and the dachshund. He is not a small Doberman pinscher, as some may think. He was bred to be a ratter and a good barking watchdog. The miniature pinscher is considered the smallest breed of guard dog. It is classified in Group 2, which also includes the Doberman pinscher, rottweiler, mastiff, boxer, and Great Dane. The miniature pinscher has been characterized as having a heroic demeanor and a striking personality. Pinscher owners commonly affirm that the dog is small and fragile only in appearance, not in temperament. Mary Brady was the production editor and proofreader for VBScript in a Nutshell, Second Edition. Emily Quill and Claire Cloutier provided quality control. Jamie Peppard and Derek Di Matteo provided production support. Brenda Miller wrote the index. Ellie Volckhausen designed the cover of this book, based on a series design by Edie Freedman. The cover image is a 19th-century engraving from the Dover Pictorial Archive. Emma Colby produced the cover layout with QuarkXPress 4.1 using Adobe's ITC Garamond font. Bret Kerr designed the interior layout, based on a series design by David Futato. This book was converted by Mike Sierra to FrameMaker 5.5.6 with a format conversion tool created by Erik Ray, Jason McIntosh, Neil Walls, and Mike Sierra that uses Perl and XML technologies. The text font is Linotype Birka; the heading font is Adobe Myriad Condensed; and the code font is LucasFont's TheSans Mono Condensed. The illustrations that appear in the book were produced by Robert Romano and Jessamyn Read using Macromedia FreeHand 9 and Adobe Photoshop 6. The tip and warning icons were drawn by Christopher Bing. This colophon was written by Maureen Dempsey. |
|
Description
|
Table of Contents
|
Product Details
|
About the Author
|
Colophon
|
 |
|
 |
|
|
|
Recommended for You
|
Recently Viewed
|
 |
|
By Colin Moock
March 2009
Video: Was: $129.99 Now: $64.99
DVD: $129.99
By Apple Computer Inc, James Duncan Davidson
September 2002
Ebook: $31.99
Print & Ebook: $43.99
Print: $39.99
By Elisabeth Robson
December 2009
Video: Was: $79.00 Now: $39.49
|
Customer Reviews
5/17/2006 (1 of 1 customers found this review helpful) By Anonymous from Undisclosed
|
|
|