Because it applies the concise and popular Nutshell format to Microsoft's preferred scripting language, VBScript in a Nutshell is a valuable learning resource and reference. Focusing on the core language rather than on any specific application, this book teaches how to write clear, efficient VBScript code. Whether developing for the Web, automating Windows, or customizing Microsoft Outlook, this book will help the reader do a better job.
Though it caters to new users, VBScript is mainly a reference book. Each piece of the core VBScript specification (plus the Dictionary and FileSystemObject objects that make up the Microsoft Scripting Runtime) is described in an alphabetized entry. For each statement, function, operator, and object, the book gives a quick description of the element's syntax, concise rules of its proper use, information on returned values (if any), and some examples of the language element used correctly in practice. Two additional sections on each language element will be valuable to novices and anyone stumped by errors: a "Rules at a Glance" section that documents correct usage, and a section called "Programming Tips & Gotchas" that highlights common mistakes. --David Wall
Topics covered: Core VBScript and the most important object models on which it operates, including Microsoft Internet Explorer and the Windows Scripting Host. Tutorial material and reference entries explain structure, syntax, and program design.
-- Dieser Text bezieht sich auf eine andere Ausgabe: Taschenbuch.
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, the book includes updated introductory chapters that should 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; and a discussion of the differences between the operation of the keyword in Visual Basic or VBA and in VBScript.