Visual Basic Essentials

This two-day intensive course is designed for the experienced programmer to help you quickly come up to speed on the Visual Basic language.

Retail Price: $1,050.00

Next Date: Request Date

Course Days: 3


Request a Date

Request Custom Course


About this Course

This two-day intensive course is designed for the experienced programmer to help you quickly come up to speed on the Visual Basic language. It is current to Visual Studio 2012 and .NET 4.5, which continues the introduction of new features in the language, making Visual Basic increasingly parallel to C#. This course concisely covers the essentials of .NET programming using Microsoft’s Visual Basic programming language. It starts with a brief chapter, ".NET: What You Need to Know," which gets you up and running in the .NET environment with a minimum of fuss. The next two chapters cover Visual Basic language essentials and object-oriented programming in Visual Basic. The next chapter discusses how Visual Basic relates to the .NET Framework. The following chapter covers delegates and events. The course includes a succinct introduction to creating GUI programs using Windows Forms. The course concludes with a chapter covering newer features in Visual Basic. These include iterators and keywords to support asynchronous programming using the Task class, which were introduced in Visual Basic 2012. An appendix provides a tutorial on Visual Studio 2012.

Audience Profile

Experienced programmers wanting to come up to speed quickly on the Visual Basic language.

Prerequisites

The student should be an experienced application developer or architect. Some background in object-oriented programming would be helpful.


Course Outline

1. NET: What You Need to Know

  • .NET: What is Really Happening
  • .NET Programming in a Nutshell
  • Viewing the Assembly
  • Viewing Intermediate Language
  • Understanding .NET
  • Visual Studio 2012
  • Creating a Console Application
  • 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

2. 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
  • Control Structures
  • Conditionals
  • Looping Constructs
  • Types in Visual Basic
  • Simple Data Types
  • Floating Point Data Types
  • Implicit/Explicit Conversions
  • Boolean Data Type
  • Structure
  • Copying Strings
  • Classes and Structures
  • Arrays
  • Boxing and Unboxing
  • Output in Visual Basic
  • Formatting
  • Subroutines and Functions
  • Exceptions
  • Implicit Line Continuation

3. Object-Oriented Programming in Visual Basic

  • Classes vs. Objects
  • Creating a Class
  • Creating and Referencing Objects
  • Account Class
  • Shared Members
  • Auto-Implemented Properties
  • Classes and Modules
  • Self-Generating IDs
  • Methods vs. Properties
  • Defining Member Variables
  • Adding Methods & Properties
  • Object Lifecycle
  • Classes vs. Structures
  • Inheritance and Scope
  • Polymorphism
  • Overriding Base Class Methods
  • Heterogeneous Collections
  • Abstract Classes & Methods
  • Operator Overloading

4. Visual Basic and the .NET Framework

  • Components and OO in Visual Basic
  • Interfaces
  • TypeOf…Is and Dynamic Interfaces
  • Resolving Ambiguity in Interfaces
  • System.Object
  • Collections
  • ArrayList
  • IEnumberable and IEnumerator
  • Collections of User-Defined Objects
  • Account Class
  • Collection Interfaces
  • IList
  • Default Properties
  • Using the Item Property
  • Copy Semantics in Visual Basic
  • Arrays
  • Shallow Copy/ Deep Copy
  • Reference Copy
  • Memberwise Clone
  • Writing Generic Code
  • Using a Class of Object
  • System.Collections.Generic

5. 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

6. Introduction to Windows Forms

  • Creating a Windows Forms App
  • IDE Generated Code in VB 2012
  • Partial Classes
  • Windows Forms Event Handling
  • Add Events for a Control
  • Events Documentation
  • Closing a Form
  • ListBox Control
  • My
  • Command Line Arguments
  • 7. Newer Features in Visual Basic

Local Type Inference

  • Object Initializers
  • Array Initializers
  • Anonymous Types
  • Partial Methods
  • Partial Method Definition
  • Test Program
  • Extension Methods
  • Collection Initializers
  • Variance in Generic Interfaces
  • Variance with IComparer(OfT)
  • Language-integrated Query (LINQ)
  • Using IEnumerable(OfT)
  • Iterators
  • Yield Keyword
  • Asynchronous Programs in VB 2012
  • Task and Task(Of TResult)
  • Aysnc Methods
  • Synchronous Call
  • Aysnc Call
  • Threading

Appendix A – Using Visual Studio 2012

  • A Visual Studio Solution
  • Toolbars
  • Customizing a Toolbar
  • Creating a Console Application
  • Using the Visual Studio Text Editor
  • Build and Run the Bytes Project
  • Running the Bytes Project
  • Executable File Location
  • Managing Configurations
  • Project Configurations
  • Debugging
  • Breakpoints
  • Watch Variables
  • Debug Toolbar
  • Call Stack and Call Hierarchy
  • Adding a Reference
  • Project Dependencies
  • Startup Project
  • Hidden Files

Appendix B – Learning Resources



Sorry!!!!, it looks like we haven’t updated our dates for the class you selected. There’s a quick way to find out, contact us at 502.265.3057 or email info@training4it.com


Request a Date