Laura Lemay's Web Workshop Activex and Vbscript (Laura Lemay's Web Workshop)
Rogers Cadenhead, Sams Publishing ISBN:1575212072, Edition: , 1996-12 Price: $39.99
C O N T E N T S
Chapter 1 Getting to Grips with ActiveX
- Downloading and Installing the ActiveX Control Pad
- Creating a Simple Welcome Page in the ActiveX Control Pad
- Adding ActiveX Label and Command Button Controls
- Setting an ActiveX Control's Property Values
- Editing Objects in the Object Editor
- Editing ActiveX Control Properties
- Editing the BackColor Property
- Changing a Label's Caption and WordWrap Properties
- Changing a Label's Font Property
- Bringing Your ActiveX Controls to Life with Active Scripting
- Opening the ActiveX Script Wizard
- Attaching a Simple VBScript Procedure to a Button
- Adding Hyperlinks ActiveX Style
- Adding VBScript Code for ActiveX Hyperlinks
- Workshop Wrap-Up
Chapter 2 Using VBScript with HTML Controls
- What Are HTML Intrinsic Controls?
- Making HTML Controls Interactive with VBScript
- Spicing Up a Home Page with VBScript
- Attaching VBScript to an HTML Hyperlink
- Adding a Custom Procedure
- Adding a Global Variable
- Adding a Simple Array
- Workshop Wrap-Up
- Next Steps
- Q&A
Chapter 3 Communicating with Your Users
- Alerting Users with an Alert Box
- Creating a Simple Message Box
- Creating Custom Message Dialog Boxes
- Adding User Confirmation
- Creating an "Add Your Own" Links Page
- Creating a Custom Input Dialog Box
- Displaying Status Messages
- Workshop Wrap-Up
- Next Steps
- Q&A
Chapter 4 Using the VBScript Language
- Accessing VBScript Data and Data Subtypes
- What Is a Variant Data Type?
- Finding Out What Data Type Is Held in a Variant
- Converting Data Types
- Declaring Variables and Constants
- What's a Variable?
- What's a Constant?
- What's Scope?
- What's a Global Variable?
- Declaring Variables
- Declaring Global Variables in the ActiveX Control Pad
- Using VBScript Operators to Calculate and Compare
- Comparison Operators
- Arithmetical Operators
- Workshop Wrap-Up
Chapter 5 Interfacing VBScript with an HTML Form
- Building an HTML Form to Work with VBScript
- Determining Which HTML Option (Radio Button) Is Clicked
- Determining Which HTML Checkbox Is Checked
- Determining the Selection from an HTML Select
- Confirming a User's Selection
- Workshop Wrap-Up
- Next Steps
- Q&A
Chapter 6 Checking Form Data
- Alerting Users During the Data Entry
- A Data Verification Example
- Creating the Form
- Validating Numeric Data Entries
- Validating Date Entries
- Verifying String Data Entries
- Implementing an OnChange Event
- Implementing a Validate and Submit Routine
- Using the OnSubmit Event
- Workshop Wrap-Up
- Next Steps
- Q&A
Chapter 7 Manipulating Strings
- Constructing the Strings Sampler HTML Template
- Making a String All Lowercase Characters
- Adding the Uppercase and Lowercase Sample Form Definition
- Adding the Lowercase Conversion Procedure
- Making a String All Uppercase Characters
- Adding the Uppercase Procedure
- Converting ASCII Codes to String Characters
- Adding the ASCII-to-String Form to the Sample
- Converting String Characters to ASCII Codes
- Adding the String-to-ASCII Form to the Sample
- Finding the Length of a String
- Adding the Length Procedure to the Sample Page
- Returning the Leftmost Characters of a String
- Adding the Left Procedure Form to the Sample Page
- Returning the Rightmost Characters of a String
- Adding the Right Procedure Form to the Sample Page
- Returning Any Part of a String
- Adding the Mid Form to the Sampler Page
- Finding One String Within Another
- Adding the String Search Form to the Sampler Page
- The Completed String-Manipulation Sampler
- Workshop Wrap-Up
- Next Steps
- Q&A
Chapter 8 Adding Date and Time Functions
- Accessing the Client's Date and Time Variables
- Welcoming Users in Their Own Time Zones
- Creating the Welcome Page HTML Template
- Creating the Time of Day Function
- Adding the Function Calls to the HTML Page
- Rearranging the Date
- Creating the HTML Template for the Date Rearranger
- Adding the Date Rearrangement Function
- Adding the Function Call to the Date Rearrangement Page
- Calculating with Dates and Times
- Creating the Date Calculator HTML Template
- Adding the Date Calculation Script
- Using the Date Last Modified Variable
- Automating What's New
- Creating the What's New Template
- Adding the Subroutine to Automatically Insert a "New" Graphic
- Adding the Calls to the Subroutine
- Workshop Wrap-Up
- Next Steps
- Q&A
Chapter 9 Making Your Program Flow
- Subroutines
- Declaring Custom Functions
- Declaring Custom Procedures
- Using the ActiveX Control Pad to Create Subroutines
- Making Decisions with If and Select
- If...Then Else and ElseIf
- Select Case
- Looping with For and Do
- For...Next Loops
- Do...Loop
- Workshop Wrap-Up
Chapter 10 Using the Power of Arrays
- Defining a Static Array
- Displaying the Day
- Defining a Dynamic Array
- Adding a Dynamic Array to a Web Page
- Multidimension Arrays
- Adding a Multidimension Array to a Web Page
- Data Types with Arrays in VBScript
- Workshop Wrap-Up
- Next Steps
- Q&A
Chapter 11 Real-Life Examples I
- Example 1: Mega Mail Order Credit Card Payments
- Techniques Applied
- Example 2: Randolph Randal's Random Home Page
- Techniques Applied
- Example 3: Tim Day's Link Page
- Techniques Applied
Chapter 12 Using VBScript with ActiveX Controls
- Overview of ActiveX Components
- The <OBJECT> Tag
- Generating <OBJECT> HTML Code
- Downloading Objects from the Web
- Empowering Netscape Navigator with ActiveX and VBScript
- Downloading ScriptActive
- Trying the Plug-In
- An HTML Page Using a Sample ActiveX Control
- Adding a Label Object
- Adding a Button Object
- Adding a VBScript Program
- Workshop Wrap-Up
Chapter 13 Implementing an ActiveX Menu Control
- Downloading New Controls from the Web
- Implementing the ActiveX Menu Control
- Downloading New Controls to Your Users
- Workshop Wrap-Up
- Next Steps
- Q&A
Chapter 14 Using the HTML Layout Control
- An Overview of the HTML Layout Control
- The HTML Layout Control Tool Box
- Adding New Controls to the HTML Layout Control Tool Box
- The HTML Layout Control Tool Bar
- Adding Controls to a Layout
- Accessing a Control's Properties
- Aligning Controls on a Layout
- Managing Overlapping Controls
- Creating a Form Using the HTML Layout Control
- Adding the HTML Layout Form to a Web Page
- Adding VBScript to an HTML Layout
- Workshop Wrap-Up
- Next Steps
- Q&A
Chapter 15 Using Java Applets with VBScript
- The <OBJECT> Tag
- Including Java Applets in Your HTML Pages
- Creating a Java Applet
- Writing the Program
- Compiling the Program
- Putting the Program on a Page
- Expanding the <APPLET> Tag
- Incorporating the <OBJECT> Tag
- Integrating Java Applets and VBScript
- Using the Light Applet
- Going Over the Java Code
- The turnOn() Method
- Communicating with the Applet from VBScript
- Workshop Wrap-Up
- Next Steps
- Q&A
Chapter 16 Real-Life Examples II
- Example 1
- Techniques Applied
- Example 2
- Techniques Applied
Chapter 17 Using Client-Side Image Maps--the Easy Way
- Creating a Clickable Image
- Determining Areas Within an Image Map
- Adding MouseMove and MouseDown Code to the Image Map
- Workshop Wrap-Up
- Next Steps
- Q&A
Chapter 18 Interacting with the Browser
- Opening a New Browser Window via VBScript
- Setting a TimeOut
- Navigating Within Frames
- Calling a Script in Another Frame
- Creating a Web Page with VBScript
- Workshop Wrap-Up
- Next Steps
- Q&A
Chapter 19 Baking Cookies with VBScript
- Security Issues
- What Can You Use Cookies For?
- Cookie Variables
- domain
- path
- secure
- Expiration Date
- Baking a Temporary Cookie
- Baking a Semi-Permanent Cookie
- Baking a Cookie with Multiple Values
- Reading Individual Cookie Values
- Workshop Wrap-Up
- Next Steps
- Q&A
Chapter 20 Real-Life Examples III
- Example 1: Web Software Kings
- Techniques Applied
- Example 2: A2Z Aluminium Box Co.
- Techniques Applied
Chapter 21 Advanced ActiveX Techniques
- An Overview of COM Theory
- Software that Doesn't Use COM
- Making Use of COM
- The Benefits of COM
- ActiveX's Connection to COM
- ActiveX as an Open Standard
- Object-Oriented Design
- Using Cab Files
- Developing ActiveX Controls
- Adding a Grid OCX Control to a Web Page
- Workshop Wrap-Up
- Next Steps
- Q&A
Chapter 22 Converting a Visual Basic Application for
the Web
- Replacing VB Forms
- Replacing VB Controls
- Replacing Event Handlers, Procedures, and Functions
- The Back End
- Translating a Visual Basic Application for the Web
- The Visual Basic Application
- The HTML Conversion
- Workshop Wrap-Up
- Next Steps
- Q&A
Chapter 23 Real-Life Examples IV
- Example 1: XYZ Inc. Corporate Intranet
- Techniques Applied
Appendix A HTML Reference/MSIE Extensions
- HTML Tags
- Comments
- Structure Tags
- Headings and Title
- Paragraphs and Regions
- Links
- Lists
- Character Formatting
- Other Elements
- Images, Sounds, and Embedded Media
- Forms
- Tables
- Frames
- Scripting and Applets
- Marquees
- Character Entities
Appendix B HTML Intrinsic Controls: Properties, Events,
and Methods
Appendix C VBScript Reference of Syntax, Methods, and
Functions
Appendix D Active Scripting Object Model
- Window Object
- Frame Object
- History Object
- Navigator Object
- Location Object
- Script Object
- Document Object
- Link Object
- Anchor Object
- Form Object
Appendix E ActiveX Controls: Properties, Events, and Methods
Appendix F The ASCII Character Set
Credits
|
|