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.
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
Reusable Code Libraries
Chapter 3 Data Types and Variables
VBScript Data Types: The Many Faces of the Variant
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.
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.
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.
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.
Comments about oreilly VBScript in a Nutshell, 2nd Edition:
This is positively the best desk reference I own. I use it practically every hour. If you do ANY VB scripting, you need this! Besides the comprehensive reference that makes up the second half of this excellant book, there are consise tutorials on using VBScript in Active Server Pages (ASP), Windows Scripting Host (WSH), with Outlook forms, and Internet Explorer. A facinating section on script components (that's right, COM using VBS) is also included. VBS Programmer's that are ASP centric will likely want more than what is here - ASP is given no more attention than the myriad other application of VBS. They should get this AND one of the orielly ASP/ASP.NET books for completeness.