Microsoft Learning to program with Visual Basic

4 days

Course Overview

If you are new to programming, this is the place! VB .NET from the very ground up will be explained. Maybe those of you who are more code-wise ought to see our VB for Existing Developers.

Prerequisites

None.

Course Outline

WHERE DO I BEGIN?

  • Programming the Easy Way
  • The systems development life cycle (SDLC)
  • Output Design
  • Input Design
  • Processing Design

GETTING COMFORTABLE WITH VB

  • Writing our first VB program
  • Elements of a VB program

DATA

  • Computer data
  • Variables
  • Constants
  • VB data types
  • Numeric data types
  • Nonnumeric data types
  • The string object
  • Operations on data
  • Arithmetic operations
  • Comparison operators
  • Logical operators

SELECTION STRUCTURES

  • The if statement
  • Getting input into your program
  • The if…else statement
  • String response
  • The Select Case statement
  • An introduction to windows
  • Windows out

LOOPS

  • Why loops?
  • The for loop
  • DO loops

CREATING YOUR OWN METHODS

  • Modular programs are easier to maintain and understand
  • What is a method?
  • Creating your own methods…
  • Method header
  • Access modifiers
  • The return type
  • Method parameters and arguments
  • Method overloading

CREATING OBJECTS FROM INSTANTIABLE CLASSES

  • Objects Have Data
  • Objects Have Behaviour
  • Changing an Object’s Attributes
  • Calling an Object’s Methods
  • Destroying an object

ARRAYS

  • Why arrays
  • What’s an array?
  • Declaring and initializing an array
  • Adding data to the elements of an array
  • Multiple dimensioned arrays
  • Creating arrays of objects

EXCEPTION HANDLING

  • Common beginner errors
  • Compiler errors
  • Runtime errors/logic errors
  • VB error handling
  • VB exceptions
  • Try-catch-finally blocks

DEVELOPING A GRAPHICAL USER INTERFACE

  • Building a graphical user interface
  • Designing our GUI
  • Creating our GUI summary

EVENT HANDLING

  • VB event handling
  • What’s an event?
  • What’s an event procedure?
  • Implementing a simple event handler in your code