Learning to Program Using Visual Basic 2010, Part 2 of 4
Interactive

Learning to Program Using Visual Basic 2010, Part 2 of 4

LearnNow Online
Updated Oct 26, 2018

Course description

In this course, you will learn to use Visual Studio 2010 to explore the Visual Basic language. The course starts with a quick overview of the .NET platform, examining assemblies, Microsoft Intermediate Language, Visual Studio profiles, XML comments, IntelliSense, and debugging. From there, you will learn all the language features that you must internalize in order to create full-featured Web or Windows applications that make best use of the .NET platform. You will learn about data types, variables, and operators, along with all the important flow control structures. You will work through several examples demonstrating the power of the .NET Framework, and dig into creating and consuming your own classes and objects. The course moves on to working with data structures, such as arrays and collection classes, before finishing up with discussions of generics, handling exceptions and working with delegates and events. The course concludes by introducing the new LINQ-oriented features including anonymous types, lambda expressions, and more. By the end of this course, you will understand the important basic concepts that will allow you to start creating the applications you need.

Each LearnNowOnline training course is made up of Modules (typically an hour in length). Within each module there are Topics (typically 15-30 minutes each) and Subtopics (typically 2-5 minutes each). There is a Post Exam for each Module that must be passed with a score of 70% or higher to successfully and fully complete the course.


Prerequisites

This course assumes that students have some programming background. No specific experience with Visual Studio 2010 or the .NET Framework is required. As with any such course, the more experience you bring to the course, the more you’ll get out of it. This course moves quickly through a broad range of programming topics, but it does not require any prior .NET skills.


Meet the experts

Ken Getz

Ken Getz is a featured instructor for several of our Visual Studio courses. He is a Visual Basic and Visual C# expert and has been recognized multiple times as a Microsoft MVP. Ken is a seasoned instructor, successful consultant, and the author or co-author of several best-selling books. He is a frequent speaker at technical conferences like Tech-Ed, VSLive, and DevConnections and he has written for several of the industry's most-respected publications including Visual Studio Magazine, CoDe Magazine, and MSDN Magazine.

Robert Green

Robert Green is a Visual Studio expert and a featured instructor for several of our Visual Basic and Visual C# courses. He is currently a Technical Evangelist in the Developer Platform and Evangelism (DPE) group at Microsoft. He has also worked for Microsoft on the Developer Tools marketing team and as Community Lead on the Visual Basic team. Robert has several years of consulting experience focused on developer training and is a frequent speaker at technology conferences including TechEd, VSLive, VSConnections, and Advisor Live.

Video Runtime

247 Minutes

Time to complete

307 Minutes

Course Outline

Module 4

The My Namespace (15:53)

  • Introduction (00:43)
  • Overview (00:50)
  • My.Application (00:49)
  • My.Computer (03:01)
  • My.User (00:44)
  • Demo: MyNamespace (00:18)
  • Demo: MyApplication (01:22)
  • Demo: MyComputer (05:45)
  • Demo: MyUser (01:27)
  • Summary (00:48)

Branching (32:50)

  • Introduction (00:43)
  • Branching in Code (00:23)
  • Conditional Branching (00:50)
  • If Statements (00:27)
  • Simple If statements (04:07)
  • TryParse Method (01:54)
  • Nested If Statement (01:14)
  • Test for Multiple Conditions (03:37)
  • Select Case Statement (00:28)
  • Test for Single Condition (01:50)
  • Select Case (02:50)
  • More Complex Select Case (04:18)
  • Repeating Code Blocks (00:31)
  • Unbounded Looping (00:10)
  • While Loop (00:30)
  • Do Loop (00:50)
  • Demo: While Loop (03:20)
  • Demo: Do Loop (04:13)
  • Summary (00:26)

Looping (20:35)

  • Introduction (00:51)
  • For Loops (01:36)
  • Using For Loops (05:39)
  • Use Loops with .NET (00:33)
  • List Drives w/For Loop (02:16)
  • For Each Loop (00:24)
  • List Drives w/For Each Loop (01:21)
  • Compare For and For Each (02:13)
  • Unconditional Branching (01:12)
  • Using the Exit Statement (00:29)
  • Using Goto (01:32)
  • Exiting a For Loop (01:37)
  • Summary (00:46)
Module 5

Introduction to Classes (49:53)

  • Introduction (01:03)
  • Revisit .NET FW Classes (02:39)
  • View Help Documentation (01:47)
  • Classes as Templates (01:25)
  • Class Constructors (02:22)
  • Shared vs Instance (00:25)
  • Different Types of Members (01:15)
  • Which is Shared or Instance (01:32)
  • Creating Your Own Classes (00:45)
  • Objects as Things (00:43)
  • Creating Your First Class (02:00)
  • IntelliSense at Work (04:07)
  • Adding XML Comments (00:38)
  • Add an Overloaded Method (03:14)
  • Using the Class View Window (01:19)
  • Using the Class Designer (01:43)
  • Create w/ Class Designer (07:10)
  • Investigate the Created Class (01:47)
  • Add Code to Finish the Class (08:01)
  • Test the Class (04:53)
  • Summary (00:57)

Working with Classes (42:20)

  • Introduction (01:02)
  • Specific Issues with Classes (00:38)
  • Value vs Reference Types (01:12)
  • Initial Values (01:38)
  • Working with Null References (02:22)
  • Intro to Garbage Collector (02:07)
  • Releasing Memory (02:11)
  • Overriding Finalize (04:40)
  • Deterministic Finalization (02:32)
  • Demo: Deterministic Final. (06:21)
  • Override Object Class Func. (00:45)
  • ToString Method (02:28)
  • Manipulating Object Ref. (01:11)
  • Copy Ref. vs Copy Value (02:42)
  • Instance vs Shared Members (01:22)
  • Instance/Shared Members (05:11)
  • Modules and Classes (03:04)
  • Summary (00:45)
Module 6

Properties (21:49)

  • Introduction (00:55)
  • Overview (02:11)
  • Calculate Property Values (00:34)
  • Validate Property Values (01:02)
  • Pass Args. to Properties (00:59)
  • Demo: Read / Write Properties (02:30)
  • Demo: Calculated Property (04:15)
  • Demo: Validate a Property (02:27)
  • Demo: Passing Arguments (05:34)
  • Summary (01:17)

Methods (34:02)

  • Introduction (00:45)
  • Overview (02:01)
  • Passing Arguments to Methods (01:02)
  • Passing Arguments (03:23)
  • Class Constructors (00:59)
  • Constructors (10:05)
  • Saving / Retrieving Information (01:22)
  • Demo: Saving Information (05:27)
  • Demo: Retrieving Information (07:04)
  • Summary (01:49)

Advanced Methods (29:40)

  • Introduction (00:29)
  • Returning / Passing Arrays (01:25)
  • Returning an Array (02:35)
  • Pass a Parameter Array (03:57)
  • Optional / Named Parameters (01:59)
  • Using Optional Parameters (04:19)
  • Using Named Arguments (03:35)
  • Static vs Instance Members (02:11)
  • Using Static Variables (02:30)
  • Using a Static Field (03:56)
  • Using a Static Method (01:17)
  • Summary (01:21)
;