VBScript
UNLEASHED
Chapter 1 Introducing HTML Scripting
- Introduction
- Designing Web Pages
- Definitions
- First Things First-HTML
- Scripting
- Objects
- ActiveX Controls
- Review
Chapter 2 The VBScript Language
- Introduction
- Differences Between Visual Basic and VBScript
- Programming in VBScript
- Data Types
- Program Flow
- Review
Chapter 3 VBScript Functions
- Introduction
- Procedures in Scripts
- Intrinsic Functions
- Basic Functions
- String Functions
- Conversion Functions
- Math Functions
- Time and Date Functions
- Boolean Functions
- Review
Chapter 4 Intrinsic Controls
- Introduction
- Events in VBScript
- Messages in a GUI Environment
- Placing Controls in HTML
- Intrinsic Controls
- Checkbox
- Select
- Using Controls in Your Documents
- Review
Chapter 5 VBScript in Web Pages
Chapter 6 The Scripting Model
- Windows, Documents, and Frames
- The document Object
- Using the document Properties and Methods
- The history Object
- The navigator Object
- The location Object
- The link Object
- Review
Chapter 7 Using ActiveX Controls
- Looking at a Brief History of Custom Controls
- Examining the Anatomy of an ActiveX Control
- Registering Your ActiveX Controls
- Putting an ActiveX Control in Your Web Page
- Installing and Distributing ActiveX Controls
- Examining ActiveX Controls
- Using Third-Party Controls
- Using Signed Controls
- Creating ActiveX Controls
- Creating Non-MFC ActiveX Controls
- Signing Your Objects for Internet Use
- Review
Chapter 8 The ActiveX Control Pad
- Taking a Tour of the ActiveX Control Pad
- Using ActiveX Controls
- Creating VBScript with the Script Wizard
- Using HTML Layouts
- Looking at the Available Controls
- Adding Controls to the Toolbox
- Creating Interactive Content
- Using VBScript with ActiveX Layouts
- Review
Chapter 9 More ActiveX Controls
Chapter 10 Error Handling
- Handling Errors in Your VBScript Pages
- Coding to Avoid Errors
- Coding to Handle Errors
- Looking at Examples of Error Handling
- Review
Chapter 11 Optimizing Code
- Organizing Your Code
- Error Checking and Debugging
- Use of Functions and Syntax
- ActiveX Controls
- Development Tools
- Review
Chapter 12 Debugging
- Handling VBScript Errors
- Using Simple Debugging Techniques
- Using Advanced Debugging Techniques
- Using Other Tools to Help You with the Debugging Task
- Using VBScript Versus Traditional Debugging Environments
- Using Visual Basic to Debug VBScript Applications
- Handling HTML Errors
- Making Sure the Bugs Are Dead
- Creating Your Own Debug Window for Tracing
- Building Your Own Tracing Routines
- Looking at a Sample Variable Analysis Routine
- Looking at More Reasons Why VBScript Can Be Tough to Debug
- The Moral of the Story
- Review
Chapter 13 Dynamic Web Page Building
- Using the Internet Explorer Document Object
- Using the ActiveX Timer Control
- Writing the Current Date and Time to the Page
- Creating a Random Frame Using Client-Side Refresh
- Changing the Document's Colors
- Using Cookies to Maintain User Information
- Review
Chapter 14 Customize Your Web Page with Cookies
Chapter 15 Creating Active Documents for Corporate Intranets
- Client-Side Processing
- Distributed Applications
- Functionality and Flexibility
- Return on Investment (ROI)
- Review
Chapter 16 Controlling MS Office Documents in Web Pages
- ActiveX
- ActiveX Scripting
- ActiveX Control Pad
- Leveraging Your Investment
- Microsoft Office Suite
- Relevant Web Sites
- Review
Chapter 17 Animation
- ActiveX Controls Capable of Animation
- Frame Animation with Image and Timer Controls
- Rotating Text with the Label Control
- Using Active Movie for Digital Audio and Video
- The Marquee Control for Scrolling Pages
- Other HTML Tags that Provide Multimedia Playback
Chapter 18 VBScript and Java
- What Is Java?
- Java, Java Applets, and JavaScript
- Java Classes
- JavaScript Objects
- JavaScript Language Structure
- VBScript Language Structure
- Standards and Conventions
- Comparing Java, JavaScript, and VBScript: A Summary
- Examples
- Relevant Web Sites
- Review
Chapter 19 VBScript and DLLs
- Static Versus Dynamic Library
- Structure of a DLL
- Programmer-Defined Functions
- Why Use DLLs?
- Disadvantages of Using DLLs
- A Sample DLL
- VBScript and DLLs
- Relevant Web Sites
- Review
Chapter 20 CGI and VBScript
- Understanding CGI
- CGI Specification
- CGI Environment Variables
- Architecture of a CGI Application
- CGI Versus VBScript
- Examples
- Relevant Web Sites
- Review
Chapter 21 Safety and Security
- A Matter of Trust
- VBScript's Built-In Safeguards
- Flirting with Danger-ActiveX Components
- Paranoia, Self-Defense, and Reasonable Risk
Chapter 22 VBScript as a Component in Other Applications
- Porting VBScript to VBA and Visual Basic
- All About ActiveX Scripting
- Licensing
- Putting It All Together-Microsoft's "Spruuids" Example
- Future Hosts
Chapter 23 Conversions and Calculations
Chapter 24 WWW Personal Information Manager
Chapter 25 Order Entry
- Ensuring Secure Transactions on the Web
- Reviewing Cookies
- Designing the Order Entry Form
- Creating the Order Entry Form
- Examining the VBScript Code
- Testing the Application
- Review
Chapter 26 RTFEditor
Appendix A VBScript Language Reference