Toll Free: 800-735-7418
Local: 303-377-9333
info@hartmannsoftware.com
 
 

 
VISUAL BASIC ESSENTIALS

Course Description  
This two-day course is designed for the experienced programmer to help you quickly come up to speed on the Visual Basic language and to learn the fundamentals of GUI programming using Windows Forms. It is current to .NET 2.0, which introduces important new features, such as generic types and partial classes. The course is practical, with many example programs and two case studies. The goal is to bring you up to speed quickly in writing Visual Basic programs, including GUI applications.

Course Length: 2 Days
Course Tuition: $790 (US)
Prerequisites
Programming in a high-level language.
Course Outline  


• .NET: What You Need to Know
Getting Started
.NET: What Is Really Happening
.NET Programming in a Nutshell
Viewing the Assembly
Viewing Intermediate Language
Understanding .NET
Visual Studio 2005
Visual Basic 2005 Express Edition
Creating a Console Application
Saving Your Project
Visual Studio Solutions
Starter Code
Using the Visual Studio Text Editor
IntelliSense
Build and Run the Project
Pausing the Output
Visual Basic and GUI Programs
.NET Documentation

• Visual Basic for the Sophisticated Programmer
Visual Basic
Hello, World
Compiling, Running (Command Line)
Program Structure
Namespaces
Project Imports
Startup Object
Variables
Literals and Constants
Operators
Short-Circuit Operators
More Operators
Operator Precedence
Control Structures
Conditionals
Looping Constructs
Types in Visual Basic
Object
Simple Data Types
Floating Point Data Types
Implicit Conversions
Explicit Conversions
Boolean Data Type
Structure
Enumeration Types
Reference Types
Class Types
Object
String Data Type
Copying Strings
StringBuilder Class
Classes and Structures
Arrays
One Dimensional Arrays
System.Array
InputWrapper Class
Input Wrapper Implementation
Jagged Arrays
Rectangular Arrays
For Each for Arrays
Boxing and Unboxing
Output in Visual Basic
Formatting
Modules
Subroutines and Functions
Default Parameters
Exceptions
System.Exception

• Object-Oriented Programming in Visual Basic
Visual Basic as an Object-Oriented Programming Language
Classes vs. Objects
Creating a Class
Creating and Referencing Objects
Account Class
Shared Members
Classes and Modules
Self-Generating IDs
Methods vs. Properties
Defining Member Variables
Adding Methods
Adding Properties
Overloading Methods
Object Lifecycle
Classes vs. Structures
Inheritance
Inheritance and Scope
Invoking the Base Class
Shadowing Base Class Methods
Polymorphism
Overriding Base Class Methods
Heterogeneous Collections
Abstract Classes
Abstract Methods
User Defined Exception Classes
Operator Overloading

• Visual Basic and the .NET Framework
Components and OO in Visual Basic
Interfaces
Interfaces in Visual Basic
Implementing an Interface
Using an Interface
Multiple Interfaces
Using Multiple Interfaces
TypeOf ... Is and Dynamic Interfaces
Interfaces in Visual Basic and COM
Resolving Ambiguity in Interfaces
System.Object
Collections
ArrayList
ArrayList Methods
IEnumerable and IEnumerator
Using Enumerators
Collections of User-Defined Objects
Account Class
Collection Interfaces
ICollection
IList
Default Properties
Using the Item Property
Copy Semantics in Visual Basic
Arrays
Shallow Copy and Deep Copy
Reference Copy
Memberwise Clone
Using ICloneable
Writing Generic Code
Using a Class of Object
Generic Types
Generic Client Code
System.Collections.Generic

• Delegates and Events
Overview of Delegates and Events
Callbacks and Delegates
Usage of Delegates
Declaring a Delegate
Defining a Method
Creating a Delegate Object
Calling a Delegate
Random Number Generation
A Random Array
Combining Delegate Objects
Account.vb
DelegateAccount.vb
Events
Static and Dynamic Event Handling
Dynamic Event Handling
Static Event Handling

• Introduction to Windows Forms
Creating a Windows Forms App
Partial Classes
Windows Forms Event Handling
Add Events for a Control
Events using the Wizard Bar
Events Documentation
Closing a Form
ListBox Control
My
Command Line Arguments

• Appendix A - Using Visual Studio 2005
Visual Studio 2005 Versions
Visual Studio 2005 IDE
A Visual Basic Solution
Toolbars
Customizing a Toolbar
Creating a Console Application
Save the Project
Using the Visual Studio Text Editor
Build and Run the Bytes Project
Executable File Location
Advanced Build Configurations
Managing Configurations
Project Configurations
Debugging
Standard Debugging – Breakpoints
Standard Debugging – Watch Variables
Stepping with the Debugger
Multiple-Project Solutions
Startup Project
Hidden Files
Creating Multiple-Project Solutions

• Appendix B - Learning Resources

Contact us for course schedules or more information.
 

Registration and Pricing
The Virtual Classroom
Mentoring Services


Fresh Off The Press MySQL Admin/Dev
Sharepoint for Developers
Advanced XML
Securing Java Web Services
Exploring Design Patterns
Fast Track to Java EE
Ajax using C# (VS 2008) Oracle 11G New Features Complete LINQ