The Independent Magazine
for Software Developers
Books Articles Blogs Subscribe d.* Gear About Home

VBScript Programmer's Reference - Second Edition

Co-authored by Daniel Read, editor and publisher of developer.*

With Adrian Kingsley-Hughes and Kathie Kingsley-Hughes

This book covers everything. The full, detailed language reference (with examples) is only a portion of the book. One of the most powerful things about VBScript is the many "contexts" in which it can be used:

  • Active Server Pages (ASP)
  • Automation of the Windows operating system (with the Windows Script Host)
  • Automation of network administration tasks
  • Windows Script Components
  • Database scripting with ActiveX Database Objects (ADO)
  • Automation of Office applications such as Word, Excel, Access, Project, and more
  • Scripting your Visual Basic applications with the Windows Script Control (this book contains the best detailed coverage of the Windows Script Control you will find; we have the full API documented, which you won't even find on Microsoft's site anymore)
  • Remote scripting
  • Regular expressions
  • ...and more...

The VBScript Programmer's Reference covers all of these contexts and more in detail, with examples you can read, see, and try out for yourself with the example code. Besides the reference and this comprehensive coverage of all the "contexts", the book also contains 300 pages of introductory matierial for non-programmers and beginniners. If you've had a desire to learn how to program, VBScript can be your gateway. All you need is Windows, Notepad (which comes for free with Windows), and this book. You will learn all the basics:

  • Variables
  • Data types
  • The most comprehensive coverage of the often mysterious Variant data type you'll find anywhere
  • Branching logic
  • Looping logic
  • Arrays
  • Classes and Objects
  • Error Handling and Debugging
  • Design principles and strategies
  • Conventions and stylistic guidance

The book is full of screen shots and example code. You can also download all of the code for the book from the publisher's web site. The code is organized by chapter and contains dozens of scripts and even complete projects.

The authors of the VBScript Programmer's Reference have carefully taken into consideration many types of readers:

  • Absolute beginners
  • Experienced Visual Basic programmers who just need to know how VBScript is different (check out Appendices I and J
  • Network administrators
  • Web programmers (ASP)
  • Programmers who know other scripting languages
  • Experienced programmers from other languages and platforms
  • Occasional users

It's a safe bet that everyone will find what they're looking for.

Click here to purchase the book from Amazon (US)

A caution: as of the time of this writing, the Amazon web site still contains information and reader reviews from the first edition of the book. The first edition was for the most part well reviewed, but there are may not yet be any reviews of this new edition. Keep in mind that this new Second Edition has been completely rewritten by a much smaller team of writers, all of whom also worked on the first edition. This is the best VBScript book, and the only one you need.

If you have any questions or comments, feel free to contact me at I'm the good looking bald guy on the right.

Table of Contents
  • Acknowledgements.
  • Author Bios.
  • Introduction.
  • 1. Introduction to Programming.
  • 2. What VBScript Is- and Isn't.
  • 3. Data Types.
  • 4. Variables and proceduure.
  • 5. Control of Flow.
  • 6. Error Handling and Debugging.
  • 7. The Scripting Runtime Objects.
  • 8. Classes in VBScript.
  • 9. Regular Expressions.
  • 10. Client-Side Web Scripting.
  • 11. Super-Charged Client-Side Scripting.
  • 12. The Windows Script Host.
  • 13. Windows Script Components.
  • 14. Script Encoding.
  • 15. Remote Scripting.
  • 16. HTML Applications.
  • 17. Server-Side Web Scripting.
  • 18. Adding VBScript to Your VB Applications.
  • Appendix A: VBScript Functions and Keywords.
  • Appendix B: Varibale Naming Conventions.
  • Appendix C: Coding Conventions.
  • Appendix D: VB Contstants Supported in VBScript.
  • Appendix E: VBScript Error Codes.
  • Appendix F: The Scripting Runtime Library Object Reference.
  • Appendix G: The Windows Script Host Object Model.
  • Appendix H: Regular Expressions.
  • Appendix I: VBScript Features not in VBA.
  • Appendix J: VBA Features Not in VBS.
  • Appendix K: The Variant Subtypes.
  • Appendix L: ActiveX Data Objects.
RSS Feeds
Software Engineering Articles and Essays Feed Icon
Software Engineering Blogs Feed Icon
Our newsletter policy:
No list sharing of any kind.
No "special offers" from "partners."
No "webinars." No "Special Reports."
No junk.
Special Price
Two great books for one low price when you buy direct from this site!
38% Off the Combined Cover Price!(US only)
$64.98 Only $39.99!
Web developer.*

All content copyright ©2000-2006 by the individual specified authors (and where not specified, copyright by Read Media, LLC). Reprint or redistribute only with written permission from the author and/or developer.*.