Course Description

This 5-day Visual Basic Programming Introduction training course is a practical introduction to programming in Visual Basic and the use of services provided by .NET. It emphasizes how to build Visual Basic applications from an object-oriented perspective, and includes many example programs and a progressively developed case study. Knowledge of the earlier version of the language, Visual Basic 6, is not required.

One of the strengths of Visual Basic, and the reason it has enjoyed such widespread use, is the ease with which it allows Windows applications to be developed. Microsoft has revamped the way that Windows applications are built under .NET. Windows Forms, used by .NET languages, represents a class library that brings uniformity to the components of a Windows application. The course includes substantial coverage of using Windows Forms in Visual Basic, including creating database applications with ADO.NET.

While this course is current to Visual Studio® 2010 and .NET 4.0, it is also relevant for users of earlier or more recent versions of .NET and Visual Studio.

Pre-requisites

Students should have some programming experience.

Who is this course for?

For software developers who need to design and develop using the Visual Basic language for the .NET framework.

Further Training

After some further on-the-job programming experience with the Visual Basic language, we recommend students attend our Visual Basic Programming Advanced training course to gain higher-level skills in the usage of the Visual Basic language.

Course content

.NET: What You Need to Know
.NET Executables and the CLR
A .NET Testbed for Visual Basic
Programming
Visual Studio 2010
Fundamentals of Visual Basic Programming
Program Structure
Namespaces
Data Types
Variables
Conversions
Operators & Expressions
Console I/O
Control Structures
If Statement
Select Case Statement
Do/Loop Statement
For/Next Statement
Exit & Continue
Procedures
Subroutines
Functions
Pass-by-value Versus Pass-by-reference
Access modifiers
Overloading
Optional Parameters
Advanced Data Types
Arrays
Enumerations
Structures
Exception Handling
Error Detection
Exception Handling
Object-Oriented Programming
Object-Oriented Concepts
Defining Classes
Methods and Properties
Auto-Implemented Properties
Shared Data and Methods
Constructors
Inheritance
Controlling Base Class Construction
Access Control
Polymorphism
Events
Abstract and Not Inheritable Classes
Type Conversion in Inheritance
Interfaces and Collections
Interface Fundamentals
Programming with Interfaces
Using Interfaces at Runtime
Resolving Ambiguities
Collections
Generic Types
Type-Safe Collections
Introduction to Windows Forms
Creating Windows Applications Using Visual Studio
Partial Classes
Handling Events
Common Controls
Windows Forms Controls
Buttons, Labels and Textboxes
Radio Buttons and Group Boxes
Check Boxes
List Boxes and Combo Boxes
Timer Control
Flexible Event Handling
User Interface Features
Message Boxes
Custom Dialogs
Modeless Dialogs
Common Dialogs
Menus
Context Menus
Database Programming
ADO.NET
.NET Data Providers
Using Data Readers
Using Data Sets
Data Binding
Newer Features in Visual Basic
Local Type Inference
Object Initializers
Array Initializers
Anonymous Types
Partial Methods
Extension Methods
Collection Initializers
Variance in Generic Interfaces
Language Integrated Query (LINQ)