VBScript
UNLEASHED

Petroutsos, Schongar, et al.


CONTENTS

Chapter 1   Introducing HTML Scripting

Chapter 2   The VBScript Language

Chapter 3   VBScript Functions

Chapter 4   Intrinsic Controls

Chapter 5   VBScript in Web Pages

Chapter 6   The Scripting Model

Chapter 7   Using ActiveX Controls

Chapter 8   The ActiveX Control Pad

Chapter 9   More ActiveX Controls

Chapter 10   Error Handling

Chapter 11   Optimizing Code

Chapter 12   Debugging

Chapter 13   Dynamic Web Page Building

Chapter 14   Customize Your Web Page with Cookies

Chapter 15   Creating Active Documents for Corporate Intranets

Chapter 16   Controlling MS Office Documents in Web Pages

Chapter 17   Animation

Chapter 18   VBScript and Java

Chapter 19   VBScript and DLLs

Chapter 20   CGI and VBScript

Chapter 21   Safety and Security

Chapter 22   VBScript as a Component in Other Applications

Chapter 23   Conversions and Calculations

Chapter 24   WWW Personal Information Manager

Chapter 25   Order Entry

Chapter 26   RTFEditor

Chapter 27   The Chart and Grid Controls

Appendix A   VBScript Language Reference

Credits


Copyright © 1997 by Sams.net Publishing

FIRST EDITION

All rights reserved. No part of this book shall be reproduced, stored in a retrieval system, or transmitted by any means, electronic, mechanical, photocopying, recording, or otherwise, without written permission from the publisher. No patent liability is assumed with respect to the use of the information contained herein. Although every precaution has been taken in the preparation of this book, the publisher and author assume no responsibility for errors or omissions. Neither is any liability assumed for damages resulting from the use of the information contained herein. For information, address Sams.net Publishing, 201 W. 103rd St., Indianapolis, IN 46290.

International Standard Book Number: 1-57521-124-6

HTML conversion by :
    M/s. LeafWriters (India) Pvt. Ltd.
    Website : http://leaf.stpn.soft.net
    e-mail : leafwriters@leaf.stpn.soft.net

Trademarks

All terms mentioned in this book that are known to be trademarks or service marks have been appropriately capitalized. Sams.net Publishing cannot attest to the accuracy of this information. Use of a term in this book should not be regarded as affecting the validity of any trademark or service mark.

VBScript is a trademark of Microsoft Corporation.

Publisher and President:Richard K. Swadley Publishing Manager:Greg Wiegand
Director of Editorial Services: Cindy MorrowAssistant Marketing Managers: Kristina Perry, Rachel Wolfe
Acquisitions EditorChristopher Denny Development EditorAnthony Amico
Software Development Specialist Brad MyersProduction Editor Mary Inderstrodt
Copy EditorsHeather Butler, Keith Davenport, Karen Letourneau IndexerJohnna VanHoose
Technical ReviewerGreg Guntle Editorial CoordinatorKatie Wise
Technical Edit CoordinatorLynette Quinn Resource CoordinatorDeborah Frisby
Editorial AssistantsCarol Ackerman, Andi Richter, Rhonda Tinch-Mize
Cover DesignerGary Adair Book DesignerGary Adair
Copy WriterPeter Fuller Production Team SupervisorBrad Chinn
ProductionSonja Hart, Michael Henry, Timothy Osborn, Gene Redding

About the Authors

Bill Schongar and Paul Lagasse are the Senior Multimedia Developers at LCD Multimedia Creations, Inc., in Nashua, NH (bills@lcdmultimedia.com and paull@lcdmultimedia.com). Paul is an experienced Visual Basic programmer, with a design background that he's having fun putting to use in a variety of online endeavors. Bill somehow ended up in the computer industry, learning and teaching things about the online world, and contributing to other books such as CGI Programming Unleashed. Just don't ask Paul to recommend any movies, or Bill to show you how to juggle axes.

Evangelos Petroutsos has a M.S. degree in Computer Engineering and works as a freelance writer and consultant. He is the author of Interactive Web Publishing with Microsoft Tools and co-author of Visual Basic Power Toolkit.

Craig Eddy resides in Richmond, VA, with his wife and two children. Craig holds a B.S. in Electrical Engineering from Virginia Tech. He is currently employed as Senior Developer for Pipestream Technologies, Inc., where he is responsible for the continuing development of ContactBuilder and Sales Continuum. He is also the architect and chief programmer for the two-way synchronization between SQL Server and remote versions of Pipestream's sales force automation products. Craig specializes in Visual Basic, SQL Server, and Access development. He has been an author for Access 95 Unleashed and Office 95 Unleashed, as well as being co-author of Web Programming with Visual Basic. Craig's hobbies include private business development and relaxing at the Outer Banks in North Carolina. Craig can be reached at craige@richmond.infi.net.

Keith Brophy is the Software Release Coordinator at X-Rite, Incorporated, and has had many years of experience in the design, development, and testing of software systems. In addition, he has taught advanced programming courses both at Grand Rapids Community College and Northern Virginia Community College. Keith has tech edited Real-World Programming with Visual Basic and co-authored Visual Basic 4.0 Performance Tuning and Optimization and Teach Yourself Visual Basic Script in 21 Days, both from Sams.

Owen Graupman has been working as a system integrator for various firms since he entered the workforce. A programmer by trade, he's written many custom financial applications using Visual Basic. He is currently employed as an independent consultant based in Los Angeles, California.

Brian Johnson is a freelance writer and programmer in Orlando, Florida. He has been involved in Internet development and Visual Basic programming for more than three years. You can usually find him answering questions in the Microsoft ActiveX newsgroups or find out more about him by hitting his Web site at http://home.sprynet.com/sprynet/bjjohnson.

Timothy Koets is a software engineer at X-Rite, Incorporated. He has extensive experience with Visual Basic, VBScript and Web Page development. He is currently teaching Advanced Visual Basic at Grand Rapids Community College. He also has experience with Visual C++, Delphi, Java, PowerBuilder and Lotus Notes. Timothy is the co-author of Visual Basic 4.0 Performance Tuning and Optimization and Teach Yourself Visual Basic Script in 21 Days, both from Sams.

Tell Us What You Think!

As a reader, you are the most important critic and commentator of our books. We value your opinion and want to know what we're doing right, what we could do better, what areas you'd like to see us publish in, and any other words of wisdom you're willing to pass our way. You can help us make stronger books that meet your needs and give you the computer guidance you require.

Do you have access to CompuServe or the World Wide Web? Then check out our CompuServe forum by typing GO SAMS at any prompt. If you prefer the World Wide Web, check out our site at http://www.mcp.com.

NOTE
If you have a technical question about this book, call the technical support line at (800) 571-5840, ext. 3668.

As the publishing manager of the group that created this book, I welcome your comments. You can fax, e-mail, or write me directly to let me know what you did or didn't like about this book-as well as what we can do to make our books stronger. Here's the information:

FAX:317/581-4669
E-mail:programming_mgr@sams.mcp.com
Mail:Greg Wiegand
Sams.net Publishing
201 W. 103rd Street
Indianapolis, IN 46290