Visual Basic 2005 for Programmers (2nd Edition)

Index

[SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V] [W] [X] [Y] [Z]

E formatting code

e-mail (electronic mail) 2nd

e-mail anchor

Each keyword

EBNF (Extended Backus-Naur Form) grammar

echo a packet back to a client

Ecma International

ECMAScript

Edit and Continue

Edit menu

Edit menu in Internet Explorer

editable list

efficient (Unicode design basis)

element (XML)

ELEMENT element type declaration (DTD)

element of an array

element of chance

element type declaration

element XML Schema element

elided UML diagram

eliminate resource leak

ellipsis button

Else keyword

ElseIf keyword

emacs text editor

Employee abstract base class

Employee class encapsulates employee name, birthday and hire date

Employee class hierarchy test program

Employee class objects share Shared variable

Employee class that implements interface IPayable

Employee hierarchy UML class diagram

empty element 2nd 3rd

EMPTY keyword (DTD)

empty string

EmptyStackException class declaration

en.wikipedia.org/wiki/EBNF

Enable Paging setting for an ASP.NET GridView

Enable Sorting setting for an ASP.NET GridView

Enabled property of class Button

Enabled property of class Control

EnableSession property of a WebMethod attribute

EnableSessionState property of a Web Form 2nd

EnableViewState property of an ASP.NET Web control 2nd 3rd

encapsulation 2nd

encoding

encrypted data

End Class keywords

End Get keywords

End keyword

end of data entry

End Select keywords

End Set keywords

End Sub keywords

end tag 2nd

end-of-file marker

end-of-line comment 2nd

EndEdit method of class BindingSource

EndsWith method of class String

enqueue operation of queue

EnsureCapacity method of class StringBuilder

Enter (or Return) key 2nd

enter data from the keyboard

Enter method of class Monitor 2nd 3rd 4th 5th 6th

entity

     &

     >

     <

entity-relationship diagram

entry point of a program

entry point of control statement

Enum keyword

enumeration 2nd

enumerations

     ComboBoxStyle

     DateTimePickerFormat

     DayOfWeek

     MdiLayout

     SelectionMode

enumerator 2nd

     failing fast

     in multithreaded applications

     of a LinkedList

equal likelihood

Equality and relational operators

equality operator (=)

equality operators (=, <>)

Equals method

     of class String

     of Object

equation information

Error List window

Error property of class Console

error-processing code

ErrorMessage property of an ASP.NET validation control

escape character

event 2nd 3rd

event argument

event driven

event handler 2nd 3rd

event handling

event handling model

event receiver

event sender

event-driven process

event-driven programming

EventArgs class

events at an interval

Examples

     .NET Web service client after Web reference has been added

     Add Reference dialog

     Adding an assembly reference to a project in the Visual Basic Express IDE

     Addition program that adds two numbers entered by the user

     Airline Reservation Web service

     Anchoring demonstration

     Animation of a series of images

     Append methods of class StringBuilder

     Application counts the number of occurrences of each word in a String and stores them in a generic sorted dictionary

     Application counts the number of occurrences of each word in a String and stores this information in a hash table

     Arithmetic operators

     article.xml displayed by Internet Explorer

     ASMX file rendered in a Web browser

     ASPX file that displays the Web server's time

     ASPX file that takes ticket information

     Assigning base class and derived class references to base class and derived class variables

     Bar chart printing program

     Base class for GUIs in our file-processing applications

     Base class Private instance variables are accessible to a derived class via Public or Protected properties and methods inherited by the derived class

     BasePlusCommissionEmployee class derived from CommissionEmployee

     BasePlusCommissionEmployee class Inherits CommissionEmployee, which provides only Private instance variables

     BasePlusCommissionEmployee class represents an employee who receives a base salary in addition to a commission

     BasePlusCommissionEmployee inherits Protected instance variables from CommissionEmployee

     BasePlusCommissionEmployee test program

     BasePlusCommissionEmployee's constructor outputs text

     Blackjack game that uses Blackjack Web service

     Blackjack Web service

     Business letter marked up as XML 2nd

     Buttons for message dialogs

     Card class

     Card dealing and shuffling simulation

     Changing a property value at runtime

     Char's Shared character-testing methods and case-conversion methods

     Chess-game code

     Class declaration with one method that has a parameter

     Class that represents chess piece attributes

     Class that stores equation information

     Class using Me reference

     Classes that derive from class Brush

     Code generated by the IDE for lblWelcome

     Code-behind file for a page that updates the time every minute

     Code-behind file for the reservation page

     Color

     Color structure members

     Color value and alpha demonstration

     ColorDialog used to change background and text color

     ComboBox used to draw a selected shape

     CommissionEmployee class derived from Employee

     CommissionEmployee class represents an employee paid a percentage of gross sales

     CommissionEmployee class test program

     CommissionEmployee class uses properties to manipulate its Private instance variables

     CommissionEmployee class with Overridable function CalculateEarnings

     CommissionEmployee class with Protected instance variables

     CommissionEmployee's constructor outputs text

     Complex XHTML table

     Composition demonstration

     Compound assignment operators

     Computing the sum of the elements of an array

     Concat Shared method

     Constants used in class CircleConstants

     Constructor call order

     Constructor used to initialize GradeBook objects

     Continue statement in repetition statements

     Counter-controlled repetition with the For...Next statement

     Counter-controlled repetition with the While statement

     Counter-controlled repetition: Class-average problem

     Create and write to a sequential-access file

     Creating a Console Application with the New Project dialog

     Creating a GradeBook object and passing a String to its DisplayMessage method

     Creating an array

     Creating an object of GradeBook and calling its DisplayMessage method

     Creating and manipulating a GradeBook object (invoking properties)

     Creating and manipulating a GradeBook object in which the course name is limited to 25 characters in length

     Creating reusable class Time

     Creating variable-length parameter lists

     Credit-inquiry program

     Day class encapsulates day, month and year information

     Default namespaces demonstration

     Definitions of classes ListNode, List and EmptyListException

     Demonstrating class Stack

     Demonstrating keyboard events

     Demonstrating logical operators

     Demonstrating the linked list

     Demonstration of methods that draw lines, rectangles and ellipses

     Display a single line of text with multiple statements

     displaying text in a message dialog

     Do...Loop While repetition statement

     Do...Loop While repetition statement activity diagram 2nd

     Document Type Definition (DTD) for a business letter

     DOM structure of an XML document displayed in a TreeView

     Employee abstract base class

     Employee class encapsulates employee name, birthday and hire date

     Employee class hierarchy test program

     Employee class objects share Shared variable

     Employee class that implements interface IPayable

     EmptyStackException class declaration

     Equality and relational operators

     Exception properties and demonstrating stack unwinding

     Executing the program of Fig. 3.1 2nd 3rd

     Exit statement in repetition statements

     Exponentiation using a compound assignment operator

     Finally always executes, regardless of whether an exception occurs

     First XHTML example

     Font class read-only properties

     Fonts and s

     For...Next repetition statement

     For...Next repetition statement activity diagram

     For...Next statement used for summation

     For...Next statement used to calculate compound interest

     Form including radio buttons and a drop-down list

     Form with hidden fields and a text box

     Form with text areas, a password box and checkboxes

     FormatException and DivideByZeroException exception handlers

     Formatting codes for Strings

     Framed Web site with a nested frameset

     FullStackException class declaration

     Function for squaring an integer

     GDI+ coordinate system. Units are measured in pixels

     Generic class Stack declaration

     Generic class Stack test program

     Generic method Maximum with a type constraint on its type parameter

     GradeBook class that contains a courseNameValue instance variable and a property

     GradeBook class uses Select...Case statement to count A, B, C, D and F grades

     GradeBook class with a constructor that receives a course name

     Graphical user interface for class Time

     Graphics methods for drawing arcs

     Graphics methods for drawing polygons

     Graphics methods that draw lines, rectangles and ovals

     Header elements h1 through h6

     HourlyEmployee class derived from class Employee

     HugeInteger Web service

     IBuffer interface used in producer/consumer examples

     IDE showing program code for a simple program

     IDE with an open console application 2nd 3rd 4th

     If...Then...Else double-selection statement activity diagram

     Image resizing

     Image with links anchored to an image map

     Images as link anchors

     Images in XHTML files

     Important methods of class HttpCookie

     Inheritance examples 2nd

     Inheritance hierarchy for Shapes

     Inheritance hierarchy for university CommunityMembers

     Initializing array elements two different ways

     Initializing element arrays three different ways

     Initializing multidimensional arrays 2nd

     Integer division without exception handling

     IntelliSense feature of Visual Basic Express

     Interaction between a Web service client and a Web service

     Internal hyperlinks to make pages more navigable

     Internet Explorer window with GUI components

     Invoice class that implements interface IPayable

     Invoking a Web method from a Web browser

     Invoking the Object Browser from the development environment

     IPayable interface test program processing Invoices and Employees polymorphically

     Keywords in Visual Basic

     Linking to an e-mail address

     Linking to other Web pages

     ListView displaying files and folders

     Logical operator truth tables

     Math tutoring application

     MDI child FrmChild

     MDI parent window class

     Me reference demonstration

     Message dialog displayed by calling MessageBox.Show

     Message dialog icon constants

     meta tags provide keywords and a description of a page

     Method declarations for class GradeBook with a CourseName property that validates the length of instance variable courseNameValue

     Microsoft Agent demonstration

     Nested and ordered lists in XHTML

     Object Browser when user selects Object from development environment

     Obtaining documentation for a class using the Index dialog

     Optional argument demonstration with method Power

     Overloaded constructors and Optional arguments

     Parameter Info window

     Passing a generic type Stack to a generic method

     Passing an array reference with ByVal and ByRef

     Passing arrays and individual array elements to procedures

     Paths used to draw stars on a form

     Performing comparisons with equality and relational operators

     Polygon-drawing demonstration

     Precedence chart

     Precedence of arithmetic operators

     Precedence of the operators introduced in this chapter

     Primitive Types in Visual Basic

     PrintArray method in which actual type names are replaced by convention with the generic name E

     Printing array elements using generic method PrintArray

     Private base class members cannot be accessed in a derived class

     Producer and consumer threads accessing a circular buffer

     Producer and consumer threads accessing a shared object with synchronization

     Producer and consumer threads accessing a shared object without synchronization

     Program to display hidden text in a password box

     Properties window used to set a property value

     Protected base class members inherited into derived class BasePlusCommissionEmployee

     Quantifiers used regular expressions

     Random class used to simulate rolling 12 six-sided dice

     Reading sequential-access files

     Record for sequential-access file-processing applications

     Recursive evaluation of 5!

     Recursive factorial program

     Regex methods Replace and Split

     Regular expression used to determine file types

     Regular expressions checking birthdays

     Renaming the program file in the Properties window

     Results of invoking a Web method from a Web browser

     SalariedEmployee class derived from class Employee

     SalariedEmployee class that implements interface IPayable methods GetPaymentAmount and GetDetail

     Schema-valid XML document describing a list of books

     Schema-validation example

     Scoping rules in a class

     Searching for characters and substrings in Strings

     Select Case multiple-selection statement activity diagram

     Self-referential Node class declaration skeleton

     Sequential file created using serialization

     Sequential file read using deserialzation

     Server side of client/server Tic-Tac-Toe program

     Service description for a Web service

     Shapes drawn on a form

     Shared class member demonstration

     Shared method Concat

     Simple student-poll analysis program

     SOAP request for the HugeInteger Web service

     Some methods of class ArrayList

     Special characters in XHTML

     SquareRootForm class throws an exception if an error occurs when calculating the square root

     StackComposition class encapsulates functionality of class List

     StackInheritance extends class List

     StartsWith and EndsWith methods 2nd

     String constructors

     String indexer, Length properties and CopyTo method

     String methods Replace, ToLower, ToUpper and Trim

     String methods Replace, ToLower, ToUpper, Trim and ToString

     String test to determine equality

     StringBuilder class constructors

     StringBuilder size manipulation

     StringBuilder text insertion and removal

     StringBuilder text replacement

     StringBuilder's AppendFormat method

     Subroutine for printing payment information

     Substrings generated from Strings

     Syntax error generated from overloaded methods

     Syntax error indicated by the IDE

     System.Drawing namespace's classes and structures

     Testing classes File and Directory

     Thread life cycle

     Time class declaration maintains the time in 24-hour format

     Tree structure for the document article.xml of Fig. 18.1

     TreeView used to display directories

     Truth table for the AndAlso operator

     Truth table for the logical And operator

     Truth table for the logical Or operator

     Truth table for the Not operator (logical negation)

     Truth table for the Xor (logical exclusive OR) operator

     Unordered lists in XHTML

     User-declared method Maximum that has three Integer parameters

     UserControl defined clock

     Using a PictureBox to display images

     Using Array class to perform common array manipulations

     Using arrays to eliminate a Select Case statement

     Using CheckBoxes to change font styles

     Using class ArrayList

     Using class StackInheritance

     Using For Each...Next with an array

     Using GroupBoxes and Panels to arrange Buttons

     Using inheritance to create a queue

     Using LinkedLists

     Using RadioButtons to set message-window options

     Using the HugeInteger Web service

     Using the mouse to draw on a form

     Validating an XML document with Microsoft's XML Validator

     Validating user information using regular expressions

     Visual Basic console application 2nd 3rd 4th

     Web service components

     WebBrowser class example

     While repetition statement activity diagram

     Windows Form Designer generated code expanded

     Windows Form Designer generated code reflecting new property value

     Windows Media Player demonstration

     XHTML document displayed in the left frame of Fig. 5.9

     XHTML frames document with navigation and content

     XHTML response when the browser requests WebTime.aspx

     XHTML table

     XML document containing book information

     XML document that describes various sports 2nd

     XML document using the laptop element defined in computer.xsd

     XML document using Unicode encoding

     XML file that does not conform to the XML Schema document in Fig. 18.11

     XML namespaces demonstration

     XML Schema document defining simple and complex types

     XML Schema document for book.xml

     XML used to mark up an article

     XML Validator displaying an error message

     XmlNodeReader iterating through an XML document

     XPathNavigator navigating selected nodes

     XSL document that transforms sorting.xml into XHTML

     XSLT style sheet applied to an XML document

     XSLT that creates elements and attributes in an XHTML document

exception 2nd

Exception Assistant 2nd

Exception class 2nd 3rd

exception for invalid array indexing

exception handler 2nd

Exception properties and demonstrating stack unwinding

exception thrown while holding a lock

Exceptions

     ArgumentException 2nd

     ArgumentOutOfRangeException

     InvalidCastException 2nd

     InvalidOperationException 2nd 3rd 4th

     KeyNotFoundException

exclusive OR operator (Xor) 2nd

executable file

Execution of the Welcome1 program 2nd 3rd 4th

ExecutionEngineException class

exhausting memory

Exists method of class Directory

Exit Do statement

Exit For statement

Exit method

     of class Application 2nd

     of class Environment

     of class Monitor 2nd 3rd 4th 5th

exit point of control statement

Exit Property statement

Exit Select statement

Exit statement

Exit statement in repetition statements

Exit While statement

Exp method of class Math

expand a tree

Expand method of class TreeNode

expand node

ExpandAll method

     of class TreeNode

     of class TreeView

Expat XML Parser

expiration date of a cookie

Expires property of HttpCookie class

explicit array bounds

explicit conversion

explicit type argument

exponential method

exponentiation

exponentiation assignment operator (^=)

exponentiation operator (^)

Exponentiation using an assignment operator

exposing a Web-service method

extend an XML Schema data type

Extended Backus-Naur Form (EBNF) grammar

extensibility 2nd

Extensible HyperText Markup Language (XHTML) 2nd 3rd 4th 5th

extensible language 2nd

Extensible Markup Language (XML) 2nd

Extensible Stylesheet Language (XSL) 2nd 3rd

extension element

     base attribute

extension XML Schema element

external DTD

Категории