Chapter 3. Fundamentals of Programming in Visual Basic


[Page 41]

(This item omitted from WebBook edition)

3.1

Visual Basic Controls

42

 

  • Starting a New Visual Basic Program

  • A Text Box Walkthrough

  • A Button Walkthrough

  • A Label Walkthrough

  • A List Box Walkthrough

  • The Name Property

  • A Help Walkthrough

  • Fonts

  • Auto Hide

  • Positioning and Aligning Controls

 

3.2

Visual Basic Events

60

 

  • An Event Procedure Walkthrough

  • Properties and Event Procedures of the Form

  • The Header of an Event Procedure

 

3.3

Numbers

73

 

  • Arithmetic Operations

  • Variables

  • Incrementing the Value of a Variable

  • Built-In Functions: Math.Sqrt, Int, Math.Round

  • The Integer Data Type

  • Multiple Declarations

  • Parentheses

  • Three Types of Errors

 

3.4

Strings

88

 

  • Variables and Strings

  • Using Text Boxes for Input and Output

  • Concatenation

  • String Properties and Methods: Length Property and ToUpper, ToLower, Trim, IndexOf, and Substring Methods

  • The Empty String

  • Initial Value of a String

  • Option Strict

  • Internal Documentation

  • Line-Continuation Character

 

3.5

Input and Output

105

 

  • Formatting Output with Format Functions

  • Formatting Output with Zones

  • Reading Data from Files

  • Getting Input from an Input Dialog Box

  • Using a Message Dialog Box for Output

  • Using a Masked Text Box for Input

 
 

Summary

127

 

Programming Projects

128





An Introduction to Programming Using Visual Basic 2005
Introduction to Programming Using Visual Basic 2005, An (6th Edition)
ISBN: 0130306541
EAN: 2147483647
Year: 2006
Pages: 164

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net