CITATION

Mansfield, Richard. Programming A Beginner's Guide. McGraw-Hill Osborne Media, 2009.

Programming A Beginner's Guide

Published:  July 2009

eISBN: 9780071624732 0071624732 | ISBN: 9780071624725
  • Contents
  • Acknowledgments
  • Introduction
  • Part I: Introduction to Programming
  • 1 Introduction to Programming
  • Why Does Programming Have a Bad Reputation?
  • What Is a Program?
  • 2 Writing Your First Program
  • Installing Visual Basic Express
  • Installing the MSDN Library
  • Writing Your First Program
  • Writing Code
  • 3 Exploring the Editor
  • IntelliSense: Help with Grammar and Syntax
  • Understanding the Timer Program
  • Debugging
  • To Review
  • 4 Creating a User Interface
  • Top-down Designing
  • Writing the Code
  • Testing the Program
  • Improving the Timer
  • Part II: The Elements of Programming
  • 5 Mastering Variables
  • Two Ways to Create a Variable
  • Rules for Naming Variables
  • Working with Operators
  • Working with Expressions
  • Multiple Procedures and Variable Scope
  • Try This: See If You Can Guess
  • Sending Local Variables Between Procedures
  • Understanding Data Types and Data Conversion
  • Understanding Data Types
  • The Numeric Types
  • 6 Using Arrays
  • Store Lists in Arrays
  • The Zero Effect
  • Starting the Quiz Program
  • Array Techniques and Methods
  • 7 Looping for Repetitive Tasks
  • The Two Types of Loops
  • Avoiding Endless Loops
  • The Main Idea
  • Loops Within Loops
  • Do Loops, While and Until
  • 8 Making Decisions
  • Understanding Decision Structures
  • The Simplest Branch
  • Multiple Branches Using the Select Case Structure
  • Omitting the Is Command
  • Finishing the Quiz Program
  • Try This: Communicating via the Title Bar
  • Part III: Building Practical Programs
  • 9 Organizing a Large Program
  • Functions Offer Two-way Communication
  • Use Procedures to Subdivide Programs
  • Starting the Diary Program
  • Loading a File from the Hard Drive with a StreamReader
  • Functions vs. Subroutines
  • Testing the Completed Diary Program
  • 10 Adding Features to Programs
  • Using an ArrayList
  • Using an ArrayList in the Diary Program
  • Understanding How to Load Data
  • Saving Data to the Hard Drive
  • Programming the Exit Button
  • Testing the Program
  • Managing the Array
  • Try This: Copying and Pasting Controls
  • Thwarting Prying Eyes
  • The Complete Diary Program
  • Moving On
  • 11 Tracking Down Errors
  • The Three Types of Errors
  • The Official Microsoft Try…Catch Approach
  • Tracking Down Logic Errors
  • Setting Breakpoints
  • Try This: How to Set a Breakpoint
  • Adding Password Protection to the Diary Program
  • Closing the Ghost Window
  • The Problem of the Red X
  • 12 Getting Help
  • Handy IntelliSense
  • Pressing the F1 Key
  • Try This: Exploring Context-sensitive Help
  • 13 Where to Go from Here
  • Professional Requirements
  • Introducing C#
  • Comparing C# to VB
  • A Brief Introduction to OOP
  • Do You Want to Program Professionally?
  • Amateur Programming Is Alive and Well
  • Part IV: Appendixes
  • A: The 17 Primary Visual Basic Express Commands
  • B: Variable and Control Naming Conventions
  • Prefixes for Variable Names
  • Naming Controls Descriptively
  • C: Keyboard Shortcuts
  • My Favorite Shortcut Keys
  • Viewing or Modifying the VB Express Shortcut Keys
  • D: The ASCII Character Codes
  • Group 1: The Nonprinting Characters
  • Group 2: The Keyboard Set
  • Group 3: The Extended Code Set
  • Glossary
  • A
  • B
  • C
  • D
  • E
  • F
  • G
  • H
  • I
  • K
  • L
  • M
  • O
  • P
  • R
  • S
  • T
  • U
  • V
  • X
  • Index