Chapter 1: Introduction to Programming and Visual Basic
1.1 Introduction
1.2 Computer Systems: Hardware and Software
1.3 Programs and Programming Languages
1.4 More About Controls and Programming
1.5 The Programming Process
1.6 The VB Environment
Chapter 2: Creating Applications with Visual Basic
2.1 Introduction
2.2 Focus on Problem Solving: Building the Hotel Directions Application
2.3 Focus on Problem Solving: Responding to Events
2.4 Modifying the Caption Property with Code
2.5 Working with the AutoSize, BorderStyle, and Alignment Properties
2.6 Clickable Images
2.7 Using Visual Basic Help
2.8 Debugging Your Application
Chapter 3: Input, Variables, Constants, and Calculations
3.1 Introduction
3.2 Gathering Text Input
3.3 Variables
3.4 Performing Calculations and Working with Numbers
3.5 Focus on Program Design and Problem Solving:
Building the Room Charge Calculator Application
3.6 Module-Level Variables
3.7 More About Debugging: Locating Logic Errors Chapter 4: Making Decisions
4.1 Introduction
4.2 The Decision Structure
4.3 The If...Then Statement
4.4 The If...Then...Else Statement
4.5 The If...Then...ElseIf Statement
4.6 Nested If Statements
4.7 Logical Operators
4.8 Comparing, Testing, and Working with Strings
4.9 Focus on GUI Design: The Message Box
4.10 The Select Case Statement
4.11 Focus on GUI Design: Option Buttons and Check Boxes
4.12 Focus on Program Design and Problem Solving:
Building the Health Club Membership Application
Chapter 5: Loops, Control Arrays, and Validation
5.1 Introduction
5.2 The Print and Cls Methods, and Input Boxes
5.3 Introduction to Loops: The Do While Loop
5.4 The Do Until and For...Next Loops
5.5 Nested Loops
5.6 Focus on GUI Design: Control Arrays
5.7 Input Validation
5.8 Focus on Program Design and Problem Solving:
Building the Vehicle Loan Calculator Application
Chapter 6: Procedures and Functions
6.1 Introduction
6.2 General Procedures
6.3 Passing Values to a Procedure
6.4 Function Procedures
6.5 More About Debugging: Stepping Into and Stepping Over Procedures and Functions
6.6 Focus on Program Design and Problem Solving:
Building the Bagel and Coffee Price Calculator Application
Chapter 7: Lists, Multiple Forms, Standard Modules, and Menus
7.1 Introduction
7.2 List Boxes and Combo Boxes
7.3 Multiple Forms
7.4 Standard Modules
7.5 Menus
7.6 Focus on Problem Solving:
Building the High Adventure Travel Agency Price Quote Application
Chapter 8: Variable Arrays
8.1 Introduction
8.2 Variable Arrays
8.3 More About Array Processing
8.4 Multidimensional Arrays
8.5 Focus on GUI Design: The Enabled Property, the Timer Control, and Splash Screens
8.6 Random Numbers
8.7 Focus on Problem Solving: Building the Demetris Leadership Center Application
Chapter 9: Files, Error Handling, User-Defined Data Types, and the Printer Object
9.1 Introduction
9.2 Using Files
9.3 Error-Handling
9.4 User-Defined Data Types
9.5 The Printer Object
9.6 The Common Dialog Control
9.7 Focus on Problem Solving: Modifying the Demetris Leadership Center Application
Chapter 10: Working with Databases
10.1 Introduction
10.2 What Is a Database?
10.3 Focus on Problem Solving:The Sounds Incredible Music Store CD Inventory Application
10.4 The ActiveX Data Object (ADO) Data Control
10.5 Working with Databases in Code
Chapter 11: Advanced Database Programming and SQL
11.1 Introduction
11.2 Using SQL
11.3 Using SQL with the ADO Data Control
11.4 Using the Data Grid Control with ADO
11.5 Focus on Problem Solving:
Enhancing the Sounds Incredible Music Store CD Inventory Application
11.6 Realizing the Power of SQL: Good Database Design
Chapter 12: Classes and Collections
12.1 Introduction
12.2 Classes and Objects
12.3 Class Modules
12.4 Collections
12.5 Focus on Problem Solving: Creating the Student Collection Class
12.6 The Object Browser
12.7 Focus on GUI Design: Scroll Bars
Chapter 13: Advanced Topics
13.1 Introduction
13.2 Creating ActiveX Controls
13.3 Sharing Text with the Clipboard
13.4 Drag and Drop
13.5 Object Linking and Embedding (OLE)
13.6 Graphics
Appendix A: The Supported ASCII Character Set
Appendix B: User Interface Design Guidelines
Appendix C: Visual Basic Intrinsic Function Reference
Appendix D: Converting Mathematical Expressions to Programming Statements
Appendix E: Random-Access Files
Appendix F: Trappable Run-Time Errors
Appendix G: Answers to Checkpoints
Appendix H: Answers to Checkpoints
Appendix I: Answers to Odd-Numbered Review Questions
Appendix J: Glossary
Index