| | Copyright |
| | About The Author |
| | Acknowledgments |
| | We Want To Hear From You! |
| | Introduction |
| | | Who Should Read This Book |
| | | Objectives of This Book |
| | | For Instructors |
| | | Conventions |
| | | Contacting the Author |
|
| | Chapter 1. Getting Started With Visual Studio .Net |
| | | Installing Visual Studio .NET |
| | | Checking the Visual Basic .NET Installation |
| | | Running Your First Program |
| | | Ending a Programming Session with Visual Basic .NET |
| | | Summary |
| | | Review Questions |
|
| | Chapter 2. The Basics of Object-Oriented Programming |
| | | A Brief History of Computer Programming |
| | | A Program Example Using OOP |
| | | Compiling Your First Program |
| | | Running a Visual Basic .NET Program |
| | | Adding Code to Your Program |
| | | Summary |
| | | Review Questions |
|
| | Chapter 3. Thinking About Programs |
| | | Why Bother? |
| | | Algorithms |
| | | Five Programming Steps |
| | | Sideways Refinement |
| | | What Is UML? |
| | | UML Class Diagrams |
| | | Summary |
| | | Review Questions |
|
| | Chapter 4. Data Types and Numeric Variables |
| | | Visual Basic .NET Data Types |
| | | Details About the Visual Basic .NET Data Types |
| | | Variables |
| | | Behind the Scenes: The Visual Basic .NET Symbol Table |
| | | The Inspector Program |
| | | Visual Basic .NET Program Errors |
| | | A Simple Math Program |
| | | Binary Numbers |
| | | Summary |
| | | Review Questions |
|
| | Chapter 5. Subroutines and Functions |
| | | Subroutines |
| | | Functions |
| | | Summary |
| | | Review Questions |
|
| | Chapter 6. String Variables |
| | | Strings |
| | | Working with the String Class in Visual Basic .NET |
| | | Other String Methods |
| | | Summary |
| | | Review Questions |
|
| | Chapter 7. Arrays |
| | | Organizing Data with Arrays |
| | | Changing the Base Index of an Array |
| | | Dynamic Arrays |
| | | Multidimensional Arrays |
| | | Multidimensional Arrays with More Than Two Dimensions |
| | | Determining the Size of an Array |
| | | Summary |
| | | Review Questions |
|
| | Chapter 8. Scope and Lifetime of Variables |
| | | What Is Scope? |
| | | Block Scope |
| | | Module Scope |
| | | Namespaces |
| | | Lifetimes |
| | | Summary |
| | | Review Questions |
|
| | Chapter 9. Arithmetic and Assignment Operators |
| | | Arithmetic Operators |
| | | A Sample Program Using the Arithmetic Operators |
| | | Shorthand Operators |
| | | Operator Precedence |
| | | Summary |
| | | Exercise |
| | | Review Questions |
|
| | Chapter 10. Relational and Logical Operators |
| | | Relational Operators |
| | | Logical Operators |
| | | Operator Precedence |
| | | Summary |
| | | Review Questions |
|
| | Chapter 11. Making Decisions |
| | | Simple If Statements |
| | | The If-Then-Else Statement |
| | | Multiple Decisions Using If |
| | | The Select Case Statement |
| | | Enumerations: Making Select Case Blocks Easier to Understand |
| | | Short-Circuiting Operators |
| | | Summary |
| | | Review Questions |
|
| | Chapter 12. Program Loops |
| | | Loop Structure |
| | | A Simple Program Loop |
| | | The For - Next Loop |
| | | Using a For - Next Loop to Implement an Algorithm |
| | | For Loops and Arrays |
| | | Exit For ”Getting Out of a For Loop Early |
| | | Nested For Loops |
| | | Summary |
| | | Review Questions |
|
| | Chapter 13. While Loops |
| | | While End While Loops |
| | | The BinaryConversion Program |
| | | Do While Loops ”Flavor One |
| | | Do While Loops ”Flavor Two |
| | | Until Loops |
| | | Terminating Do Loops Early |
| | | Sentinels |
| | | Summary |
| | | Review Questions |
|
| | Chapter 14. Advanced Array Processing |
| | | Declaring and Defining Arrays |
| | | Sorting an Array |
| | | Searching an Array |
| | | Other Array Properties and Methods |
| | | Arrays as Objects |
| | | Sample Program Using an Array Object |
| | | Collections |
| | | Summary |
| | | Review Questions |
|
| | Chapter 15. Encapsulation |
| | | Creating Your Own Classes |
| | | Adding a Class to a Project |
| | | Testing the Code for the CPassword Class |
| | | Creating Your Own Class Library |
| | | Summary |
| | | Review Questions |
|
| | Chapter 16. Class Properties |
| | | Designing a Program Design |
| | | Testing the COven Class |
| | | The ReadOnly and WriteOnly Properties |
| | | Summary |
| | | Review Questions |
|
| | Chapter 17. Inheritance |
| | | Base Classes and Derived Classes |
| | | The Building Base Class |
| | | The Apartment , Commercial , and Home Derived Classes |
| | | Define Versus Declare |
| | | Testing the Building Class |
| | | Virtual Classes |
| | | Summary |
| | | Review Questions |
|
| | Chapter 18. Polymorphism |
| | | What Is Polymorphism? |
| | | An Example of Inheritance and Polymorphism |
| | | Testing Polymorphism |
| | | Creating an Interface |
| | | Summary |
| | | Review Questions |
|
| | Chapter 19. Error Processing and Debugging |
| | | Types of Errors |
| | | Sample Program for Testing the Debugger |
| | | Using the Visual Basic .NET Debugger |
| | | Unstructured Error Handling |
| | | Structured Error Processing |
| | | A Program Example Using Exception Handling |
| | | Summary |
| | | Review Questions |
|
| | Chapter 20. Visual Basic .NET Controls |
| | | The Form Control |
| | | A Sample Program with Controls |
| | | Running the Sample Program |
| | | Summary |
| | | Review Questions |
|
| | Chapter 21. Creating Your Own Controls |
| | | The PhoneSSN Control |
| | | Handling Events |
| | | Summary |
| | | Review Questions |
|
| | Chapter 22. Visual Basic .NET Graphics |
| | | Your Computer Display |
| | | The Imageviewer Project |
| | | Creating Your Own Graphics Objects |
| | | Setting the Font |
| | | Using the Yellowline and Redline Features |
| | | Testing the Gauge Control |
| | | Summary |
| | | Review Questions |
|
| | Chapter 23. Disk Data Files |
| | | Introduction to Data Files |
| | | Summary |
| | | Review Questions |
|
| | Chapter 24. Database Fundamentals |
| | | What Is a Database? |
| | | ADO.NET |
| | | Using SQL |
| | | Using SQL |
| | | Summary |
| | | Review Questions |
|
| | Chapter 25. Database Programming With Visual Basic .NET |
| | | Using Visual Basic .NET Wizards to Interact with a Database |
| | | Adding a DataSet Object |
| | | Life Without Wizards |
| | | Modifying a Database |
| | | Summary |
| | | Review Questions |
|
| | Chapter 26. Web Programming With Visual Basic .NET |
| | | Introduction |
| | | Dynamic HTML |
| | | Home Mortgage Web Page |
| | | Summary |
| | | Review Questions |
|
| | Appendix A. ASCII Table |
| | Index |