VBScript in a Nutshell, 2/e (Paperback)

Paul Lomax, Matt Childs, Ron Petrusha

  • 出版商: O'Reilly
  • 出版日期: 2003-04-29
  • 售價: $1,790
  • 貴賓價: 9.5$1,701
  • 語言: 英文
  • 頁數: 552
  • 裝訂: Paperback
  • ISBN: 0596004885
  • ISBN-13: 9780596004880
  • 海外代購書籍(需單獨結帳)



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.

Table of Contents



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 5.6

8. VBScript with Internet Explorer

9. Windows Script Components

II. Reference

10. The Language Reference

III. Appendixes

A. Language Elements by Category

B. VBScript Constants

C. Operators

D. Locale IDs

E. The Script Encoder



輕量而強大的微軟VBScript用於四個主要領域:使用Active Server Pages(ASP)的伺服器端網頁應用程式、使用Internet Explorer的客戶端網頁腳本、Outlook表單的程式碼背後以及使用Windows Script Host(WSH)自動化重複任務。《VBScript in a Nutshell》第二版提供了給開發有效腳本的程式設計師和系統管理員的最新和完整的文件。完全更新至VBScript 5.6、WSH 5.6和ASP 3.0,《VBScript In a Nutshell》第二版包括更新的入門章節,以幫助您跟上自第一版出版以來的重大變化。新的章節介紹了用於創建二進制COM元件的Windows Script Component和Script Encoder。本書的主要部分是一個全面的參考,重點介紹VBScript的基本要素,並提供了對所有語句、關鍵字和物件的按字母順序的參考,以及一節關於真實世界中的陷阱(各種未記錄的行為和語言的方面)的註釋和解決方案,以幫助您避免潛在問題。參考部分的每個條目詳細說明了以下內容:關鍵字的語法,使用標準的程式碼慣例;函數或程序接受的參數列表(如果有);關鍵字在腳本環境中應該如何使用的討論;關鍵字在Visual Basic或VBA和VBScript中操作方式之間的差異的討論。無論您在VBScript編程方面的經驗水平如何,《VBScript in a Nutshell》第二版都是您需要的書籍,它是最完整、最新和最易於使用的語言參考資料。