Premier
Visual Studio 2010

Programming in Visual Basic with Microsoft Visual Studio 2010
(Microsoft Training Course: 10550) - 5 days - £2095 exc VAT

 Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul Aug 
Extended Classroom21             
Leeds (Brown Lane West) Centre 12            
Leeds (City Exchange) Centre          20   
London (Tabernacle St) Centre EC2  09           
London International House Centre E1W21             
London Middlesex Street Centre E1          13   
Manchester (Portland St) Centre28     15    13    


> Target Audience
This course teaches students Visual Basic language syntax, program structure, and implementation by using Microsoft Visual Studio 2010 and the Microsoft .NET Framework 4. It is intended for experienced developers who already have programming experience in Visual Basic, C, C++, C#, or Java, and understand the concepts of Object Oriented Programming.
> Course outline
  1. Introducing Visual Basic and the .NET Framework
  2. Using Visual Basic Programming Constructs
  3. Declaring and Calling Methods
  4. Handling Exceptions
  5. Reading and Writing Files
  6. Creating New Types
  7. Encapsulating Data and Methods
  8. Inheriting from Classes and Implementing Interfaces
  9. Managing the Lifetime of Objects and Controlling Resources
  10. Encapsulating Data and Defining Overloaded Operators
  11. Decoupling Methods and Handling Events
  12. Using Collections and Building Generic Types
  13. Building and Enumerating Custom Collection Classes
  14. Using LINQ to Query Data
  15. Integrating Visual Basic Code with Dynamic Languages and COM Components

Supplementary InformationThis course is not designed for students beginning their development knowledge, but for professional developers who want to quickly ramp up on Visual Basic Programming in the .NET Framework. The course focuses on Visual Basic program structure, language syntax, and implementation details with the .NET Framework 4.0 and focuses on the new enhancements in the Visual Basic 2010 language using Visual Studio 2010.
Module 1: Introducing Visual Basic and the .NET Framework
  • This module describes the purpose of the .NET Framework 4 and how you can build applications by using Visual Studio 2010.
  • Introduction to the .NET Framework 4
  • Creating Projects Within Visual Studio 2010
  • Writing a Visual Basic Application
  • Building a Graphical Application
  • Documenting an Application
  • Debugging Applications by Using Visual Studio 2010
  • Lab: Introducing Visual Basic and the .NET Framework
Skills
  • Explain the purpose of the .NET Framework 4.
  • Create Visual Basic projects by using Visual Studio 2010.
  • Explain the structure of a Visual Basic application.
  • Use the Windows Presentation Foundation (WPF) Application template to build a simple graphical application.
  • Use XML comments to document an application.
  • Use the debugger to step through a program.
top
Module 2: Using Visual Basic Programming Constructs
  • This module introduces many of the basic Visual Basic language data types and programming constructs, and describes the syntax and semantics of these constructs.
  • Declaring Variables and Assigning Values
  • Using Expressions and Operators
  • Creating and Using Arrays
  • Using Decision Statements
  • Using Iteration Statements
  • Lab: Using Visual Basic Programming Constructs
Skills
  • Explain how to declare variables and assign values.
  • Use operators to construct expressions.
  • Create and use arrays.
  • Use decision statements.
  • Use iteration statements.
top
Module 3: Declaring and Calling Methods
  • This module introduces methods (a unit of code that is designed to perform a discrete piece of work) and describes how to define and use them.
  • Defining and Invoking Methods
  • Specifying Optional Parameters and ByRef Parameters
  • Lab: Declaring and Calling Methods
Skills
  • Describe how to create and invoke methods.
  • Define and call methods that can take optional parameters and ByRef parameters.
top
Module 4: Handling Exceptions
  • This module explains how you can implement effective exception handling in your applications.
  • Handling Exceptions
  • Raising Exceptions
  • Lab: Handling Exceptions
Skills
  • Describe how to catch and handle exceptions.
  • Describe how to create and raise exceptions.
top
Module 5: Reading and Writing Files
  • This module shows how to read and write to files by using the classes in the Microsoft .NET Framework.
  • Accessing the File System
  • Reading and Writing Files by Using Streams
  • Lab: Reading and Writing Files
Skills
  • Describe how to access the file system by using the classes that the .NET Framework provides.
  • Describe how to read and write files by using streams.
  • Describe how to use the My namespace for reading and writing files.
top
Module 6: Creating New Types
  • This module explains how to create your own modules and types and describes the differences between reference types and value types.
  • Creating and Using Modules and Enumerations
  • Creating and Using Classes
  • Creating and Using Structures
  • Comparing References to Values
  • Lab: Creating New Types
Skills
  • Describe how to create and use modules.
  • Describe how to create and use enumerations.
  • Describe how to create and use classes.
  • Describe how to create and use structures.
  • Explain the differences between reference and value types.
top
Module 7: Encapsulating Data and Methods
  • This module describes how to use some of the access modifiers that Visual Basic provides to enable you to implement encapsulation.
  • Controlling Visibility of Type Members
  • Sharing Methods and Data
  • Lab: Encapsulating Data and Methods
Skills
  • Describe how to control the visibility of type members.
  • Describe how to share methods and data.
top
Module 8: Inheriting from Classes and Implementing Interfaces
  • This module introduces inheritance and interfaces in the Microsoft .NET Framework, and how you can use them to simplify complex problems, reduce code duplication, and speed up development.
  • Using Inheritance to Define New Reference Types
  • Defining and Implementing Interfaces
  • Defining Abstract Classes
  • Lab: Inheriting from Classes and Implementing Interfaces
Skills
  • Use inheritance to define new reference types.
  • Define and implement interfaces.
  • Define abstract classes.
top
Module 9: Managing the Lifetime of Objects and Controlling Resources
  • This module explains how the .NET Framework simplifies resource management.
  • Introduction to Garbage Collection
  • Managing Resources
  • Lab: Managing the Lifetime of Objects and Controlling Resources
Skills
  • Describe how garbage collection works in the .NET Framework.
  • Manage resources effectively in an application.
top
Module 10: Encapsulating Data and Defining Overloaded Operators
  • This module describes how to implement operators for your types by using overloading.
  • Creating and Using Properties
  • Creating and Using Indexers
  • Overloading Operators
  • Lab: Creating and Using Properties
  • Lab: Creating and Using Indexers
  • Lab: Overloading Operators
Skills
  • Explain how properties work and use them to encapsulate data.
  • Describe how to use default properties to provide access to data through an array-like syntax.
  • Describe how to use operator overloading to define operators for your own types.
top
Module 11: Decoupling Methods and Handling Events
  • This module explains how to decouple an operation from the method that implements it and how to use anonymous methods to implement decoupled operations.
  • Declaring and Using Delegates
  • Using Lambda Expressions
  • Handling Events
  • Lab: Decoupling Methods and Handling Events
Skills
  • Describe the purpose of delegates and explain how to use a delegate to decouple an operation from the implementing method.
  • Explain the purpose of lambda expressions and describe how to use a lambda expression to define an anonymous method.
  • Explain the purpose of events and describe how to use events to report that something significant has happened in a type that other parts of the application need to be aware of.
top
Module 12: Using Collections and Building Generic Types
  • This module introduces generics and how you can use generic classes to maintain type-integrity and avoid issues that are associated with a lack of type safety.
  • Using Collections
  • Creating and Using Generic Types
  • Defining Generic Interfaces and Understanding Variance
  • Using Generic Methods and Delegates
  • Lab: Using Collections
  • Lab: Building Generic Types
Skills
  • This module introduces generics and how you can use generic classes to maintain type-integrity and avoid issues that are associated with a lack of type safety.
  • Using Collections
  • Creating and Using Generic Types
  • Defining Generic Interfaces and Understanding Variance
  • Using Generic Methods and Delegates
  • Lab: Using Collections
  • Lab: Building Generic Types
  • Use collection classes.
  • Define and use generic types.
  • Define generic interfaces and explain the concepts of covariance and contra-variance.
  • Define and use generic methods and delegates.
top
Module 13: Building and Enumerating Custom Collection Classes
  • This module introduces you to custom collection classes. It also explains how you can develop collection classes that support the language constructs that Visual Basic provides.
  • Implementing a Custom Collection Class
  • Adding an Enumerator to a Custom Collection Class
  • Lab: Building and Enumerating Custom Collection Classes
Skills
  • Implement a custom collection class.
  • Define an enumerator in a custom collection class.
top
Module 14: Using LINQ to Query Data
  • This module introduces you to Language-Integrated Query (LINQ) queries and explains how you can use them to process data in your Microsoft .NET Framework applications.
  • Using the LINQ Extension Methods and Query Operators
  • Building Dynamic LINQ Queries and Expressions
  • Lab: Using LINQ to Query Data
Skills
  • Describe how to use the LINQ extension methods and query operators.
  • Describe how to build dynamic LINQ queries and expressions.
top
Module 15: Integrating Visual Basic Code with Dynamic Languages and COM Components
  • This module describes how to integrate code written by using a dynamic language such as Ruby and Python, or technologies such as COM, into a Visual Basic application.
  • Integrating Visual Basic Code with Ruby and Python
  • Accessing COM Components from Visual Basic
  • Lab: Integrating Visual Basic Code with Dynamic Languages and COM Components
Skills
  • Integrate Ruby and Python code into a Visual Basic application.
  • Invoke COM components and services from a Visual Basic application.
top
> Pre-Requisites
Before attending this course, students must have the following pre-requisites:
  • At least 12 months experience working with an Object Oriented language.
  • Knowledge of Visual Basic.
  • Experience with the Microsoft .NET Framework.
  • Knowledge of the Visual Studio integrated development environment (IDE).
> Purpose
After completing the course, students will be able to describe the purpose of the .NET Framework, and explain how to use Microsoft Visual Basic and Visual Studio 2010 to build .NET Framework applications; create and call methods; catch, handle, and throw exceptions; perform basic file I/O operations; create and use new types; explain the differences between reference types and value types; control the visibility and lifetime of members in a type; use inheritance to create new reference types; manage the lifetime of objects and control the use of resources; create properties and indexers to encapsulate data; decouple an operation from the method that implements it; use generics to implement type-safe collection classes, structures, interfaces, and methods; implement custom collection classes that support enumeration; query in-memory data by using Language-Integrated Query (LINQ) queries; integrate code written using a dynamic language into a Visual Basic application.
> Supplementary Information
This course is not designed for students beginning their development knowledge, but for professional developers who want to quickly ramp up on Visual Basic Programming in the .NET Framework. The course focuses on Visual Basic program structure, language syntax, and implementation details with the .NET Framework 4.0 and focuses on the new enhancements in the Visual Basic 2010 language using Visual Studio 2010.