Visual Basic .NET Programming and WinForm Applications

Course:   VBNWF
Duration:   5 Days
Level:   I
On our website at:   http://www.verhoef-training.com/courses/VBNWF.html
 
Course Summary

This material presents Microsoft's Visual Basic programming language and the use of Visual Studio 2008 to develop Windows applications using the .Net 3.5 Framework and libraries. Essential language syntax is included along with working with arrays, collections and exceptions. Object-Oriented concepts are covered by creating/using Classes, Inheritance and Polymorphism, including interfaces, generics and overloading. SDI/MDI Windows application using Forms, Controls and Events are developed and enhanced, including data-bound controls. Database applications are developed using ADO.Net Data Sources and DataGridView/ToolStrip Controls. Organizing classes, libraries and application deployment mechanisms are presented, along with IDE Debugging facilities.

Topics Covered In This Course

How to get started with Visual Studio

  • .Net Development and Framework,
  • IDE usage,
  • Projects,
  • Build/Running Appls

How to design a Windows Forms application

  • Project Options,
  • Form Controls and Properties,
  • Naming Conventions,
  • Files

How to code and test a Windows Forms application

  • OO Syntax for Properties/Methods/Events,
  • Code Window and IntelliSense,
  • Snippets,
  • Debugging Trace

How to work with numeric and string data

  • Value Types,
  • Declaration and Initialization,
  • Operators and Expressions,
  • String Types,
  • Converting Types,
  • Enumerations and Nullable Types

How to code control structures

  • Boolean Expressions and Operators,
  • Conditional if/select Stmts,
  • Loops

How to code procedures and event handlers

  • Coding and Calling Sub Procedures,
  • Reference vs Value Arguments,
  • Events and Handlers,
  • Coding and Calling Function Procedures

How to handle exceptions and validate data

  • Overview and Processing,
  • Catching and Throwing Exceptions,
  • Exception Properties,
  • Validating Input Data,
  • IsNumeric,
  • Validating Event

How to work with arrays and collections

  • Creating and Accessing Array Data,
  • foreach Loops,
  • Multi-Dim Rectangular and Jagged Arrays,
  • Array Class Utility Methods,
  • Common Collections and Lists

How to work with dates and strings

  • Using DateTime Class Methods,
  • Using String Class Methods,
  • Formatting Numbers/Dates/Times

More skills for working with Windows forms and controls

  • Combo/List Controls,
  • CheckBox/RadioButton Controls,
  • Tabbing,
  • Multi-Form Projects,
  • MessageBox Class Methods

How to Create and Use Classes

  • Overview,
  • Creating Class fields/properties/methods/contructors,
  • Class View and Details Windows,
  • Working with Structures

How to debug an application

  • Debugging Options and Modes,
  • Breakpoints,
  • Monitor Windows

An introduction to database programming

  • Overview,
  • Relational DB Tables and Columns,
  • SQL Query,
  • Joins,
  • Add/Del/Upd,
  • ADO.Net Providers and Components,
  • Concurrency,
  • Data Adapters

How to work with data sources and datasets

  • Data Source Window and Wizard,
  • DB Connections and DataBase Objects,
  • Data Sources and DataGridView Controls,
  • Handling Data Errors,
  • DataSet Designer

How to work with bound controls and parameterized queries

  • Bound Controls and Data Sources,
  • Parameterized Queries,
  • ToolStrip Controls,
  • More on DataGridView Properties and Formatting

How to use ADO.NET to write your own data access code

  • Working with Connections,
  • SQL Commands and Parameters

Executing Commands and Data Readers

How to work with Default Properties,

Events and Operators

  • Default Properties and Argument Exceptions,
  • Defining and Consuming Events,
  • Overloading Operators

How to work with inheritance

  • Overview,
  • System.Object,
  • Base and Derived Classes,
  • Overriding Methods and Polymorphism,
  • Casting Object Types,
  • Using Abstract and Sealed Classes

How to work with interfaces and generics

  • Overview and .Net Framework Interfaces,
  • Creating and Implementing IF Generic Collection Classes,
  • IComparable and ICloneable IFs

How to organize and document your classes

  • Coding Multiple Class Sources,
  • Partial Classes,
  • Namespaces,
  • XML Class Documentation,
  • Creating and Using Class Libraries

How to work with files and data streams

  • System.IO Classes,
  • Managing Directories and Files,
  • FileStream Classes and Exceptions,
  • Reading/Writing Text and Binary Files,
  • FileSystem Object and Functions

How to work with XML files

  • Overview,
  • XML Document Syntax and Contents,
  • XML Edit Window,
  • Using XMLReader/Writer Classes

How to use LINQ

  • Overview and Processing,
  • Coding LINQ Queries,
  • Data Sources,
  • Filtering and Sorting

How to enhance the user interface

  • SDI vs MDI Applications and Coding,
  • Parent and Child Forms,
  • Menus and Toolbars,
  • ToolTips and Context-Sensitive Help,
  • Coding Modules

How to deploy an application

  • Deployment Options,
  • XCopy/ClickOnce/Setup Programs,
  • DB Setup Issues
Who Should Take This Course

Developers wishing to learn how to use the Visual Basic programming language and the .Net Framework to build Windows applications.

Recommended Prerequisites

This course assumes that students have some programming background. No specific experience with Visual Studio, the .NET Framework, or Visual Basic is assumed.

Training Style

Instructor led discussion, demonstrations and hands-on lab exercises.

Related Courses
Code Course Title Duration Level
NETCSH
Programming the .Net Framework with C#
5 Days
I
Details
CSHNWF
C# .NET Programming and WinForm Applications
5 Days
I
Details
VBNETI
Bootup to .NET with VB
5 Days
I
Details
LINQVB
Microsoft LINQ Using Visual Basic 2008
2 Days
II
Details
VBASP
Microsoft ASP.NET Using Visual Basic 2008
4 Days
II
Details
VBADV
Enterprise Development In Visual Basic .NET
3 Days
II
Details

Every student attending a Verhoef Training class will receive a certificate good for $100 toward their next public class taken within a year.

You can also buy "Verhoef Vouchers" to get a discounted rate for a single student in any of our public or web-based classes. Contact your account manager or our sales office for details.