CITATION

Kent, Jeff. Visual Basic 2005 Demystified. US: McGraw-Hill Osborne Media, 2005.

Visual Basic 2005 Demystified

Authors:

Published:  November 2005

eISBN: 9780071486750 0071486755 | ISBN: 9780072261714
  • Contents
  • Acknowledgments
  • Introduction
  • Part One: Introduction to Visual Basic 2005
  • Chapter 1 Getting Started with Your First Windows Program
  • Obtaining and Installing Visual Basic 2005
  • Starting Your First Visual Basic 2005 Project
  • What Is a Computer Program?
  • Conclusion
  • Quiz
  • Chapter 2 Writing Your First Code
  • Starting an Existing Project
  • Classes and Objects
  • Properties
  • What Is a Windows Application?
  • Creating an Event Procedure
  • Conclusion
  • Quiz
  • Chapter 3 Controls
  • Adding Controls to the Form
  • Important Label Properties
  • The Label Control in Action
  • How the Code Works
  • Conclusion
  • Quiz
  • Part Two: Programming Building Blocks: Variables, Data Types, and Operators
  • Chapter 4 Storing Information—Data Types and Variables
  • Data Types
  • Variables
  • Constants
  • Conclusion
  • Quiz
  • Chapter 5 Letting the Program Do the Math—Arithmetic Operators
  • Arithmetic Operators
  • The Parse and ToString Methods
  • Change Machine Project
  • Type Conversions
  • Conclusion
  • Quiz
  • Chapter 6 Making Comparisons—Comparison and Logical Operators
  • Debugging
  • Comparison Operators
  • Logical Operators
  • Conclusion
  • Quiz
  • Part Three: Controlling the Flow of the Program
  • Chapter 7 Making Choices—If and Select Case Control Structures
  • The InputBox Function
  • If Control Structure
  • Input Validation
  • Controls Used for If Control Structure
  • Pizza Calculator
  • Select Case Control Structure
  • Conclusion
  • Quiz
  • Chapter 8 Repeating Yourself—Loops and Arrays
  • Loops
  • Arrays
  • Conclusion
  • Quiz
  • Chapter 9 Organizing Your Code with Procedures
  • Types of Procedures
  • Subroutines
  • Functions
  • Why Write Your Own Procedures?
  • Conclusion
  • Quiz
  • Part Four: The User Interface
  • Chapter 10 Helper Forms
  • Message Boxes
  • Dialog Forms
  • Conclusion
  • Quiz
  • Chapter 11 Menus
  • Creating a Main Menu
  • Creating a Context Menu
  • Text Editor Project
  • Conclusion
  • Quiz
  • Chapter 12 Toolbars
  • Creating a Toolbar
  • Associating Code with Clicks of Toolbar Buttons
  • Conclusion
  • Quiz
  • Part Five: Accessing Data
  • Chapter 13 Accessing Text Files
  • Open and Save File Dialog Boxes
  • Reading from a Text File
  • Writing to a Text File
  • Conclusion
  • Quiz
  • Chapter 14 Databases
  • Installing the Database
  • Connecting to the Database
  • Using Server Explorer
  • Database Project
  • Conclusion
  • Quiz
  • Chapter 15 Web Applications
  • ASP.NET
  • Internet Information Services
  • URL
  • Creating a Web Application
  • Creating a Database Web Application
  • Conclusion
  • Quiz
  • Final Exam
  • Answers to Quizzes and Final Exam
  • Index