Preface
Acknowledgments
The Companion Website for Students and Instructors
Using this Book for a Short or Condensed Course
Chapter 1 An Introduction to Computers and Problem Solving
1.1 An Introduction to Computers
1.2 Windows, Folders, and Files
1.3 Program Development Cycle
1.4 Programming Tools
Chapter 2 Visual Basic. Controls, and Events
2.1 An Introduction to Visual Basic 2008
2.2 VB 2008 Controls
2.3 VB 2008 Events
Summary
Chapter 3 Variables, Input, and Output
3.1 Numbers
3.2 Strings
3.3 Input and Output
Summary
Programming Projects
Chapter 4 Decisions
4.1 Relational and Logical Operators
4.2 If Blocks
4.3 Select Case Blocks
Summary
Programming Projects
Chapter 5 General Procedures
5.1 Sub Procedures, Part I
5.2 Sub Procedures, Part II
5.3 Function Procedures
5.4 Modular Design
5.5 A Case Study: Weekly Payroll
Summary
Programming Projects
Chapter 6 Repetition
6.1 Do Loops
6.2 Processing Lists of Data With Do Loops
6.3 For...Next Loops
6.4 A Case Study: Analyze A Loan
Summary
Programming Projects
Chapter 7 Arrays
7.1 Creating And Accessing Arrays
7.2 Using Arrays
7.3 Some Additional Types of Arrays
7.4 Sorting and Searching
7.5 Two dimensional Arrays
7.6 A Case Study: A Sophisticated Cash Register
Summary
Programming Projects
Chapter 8 Sequential Files
8.1 Sequential Files
8.2 Using Sequential Files
8.3 A Case Study: Recording Checks and Deposits
Summary
Programming Projects
Chapter 9 Additional Controls and Objects
9.1 List Boxes, Combo Boxes, and the File-Opening Control
9.2 Seven Elementary Controls
9.3 Four Additional Objects
9.4 Graphics
Summary
Programming Projects
Chapter 10 Database Management
10.1 An Introduction to Databases
10.2 Relational Databases and SQL
Summary
Programming Projects
Chapter 11 Object-Oriented Programming
11.1 Objects and Classes
11.2 Arrays of Objects; Events; Containment
11.3 Inheritance
Summary
Programming Projects
Appendices
Appendix A ANSI Values
Appendix B How To
Appendix C Converting from VB 6.0 to VB 2008
Appendix D Debugging Tools
Appendix E A Biographical History of Computing
Appendix F Folders and Files
Answers to Selected Odd-Numbered Exercises
Index