Learn your way! Get started

Exploring Visual Basic 2005

with expert Ken Getz


Course at a glance

Included in these subscriptions:

  • Dev & IT Pro Video
  • Dev & IT Pro Power Pack

Release date 10/11/2005
Level Beginner
Runtime 8h 26m
Closed captioning N/A
Transcript N/A
eBooks / courseware N/A
Hands-on labs N/A
Sample code Included
Exams N/A
Platform Internet Explorer Only


Enterprise Solutions

Need reporting, custom learning tracks, or SCORM? Learn More



Course description

See the process of creating an end-to-end Visual Basic 2005 application starting with an introduction to the .NET Framework and concluding with the running complete application. Gain insight into a variety of topics focusing on the major areas of application development on the .NET Framework. The application will include coverage of Windows applications, ASP.NET, ADO.NET, Web Services, Windows Services, COM Interop, and more.

Meet the expert

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.

Course outline



Module 1

Intro to VS 2005 (01:14:41)
  • Introduction (02:28)
  • The Goal (00:37)
  • What is .NET, Anyway? (02:18)
  • .NET Framework Components (06:53)
  • .NET Languages (00:49)
  • Visual Studio 2005 (02:36)
  • Applications You Can Build (01:50)
  • Create a VB App With Notepad (03:24)
  • Create a C# App With Notepad (02:05)
  • Create a Console Project in VS (01:33)
  • Option Strict (00:56)
  • Intellisense (01:30)
  • Run the Application (00:44)
  • Start Debugging (01:17)
  • Add a C# Proj. to the Solution (04:15)
  • Add a Reference (03:31)
  • Single Step from VB to C# (01:59)
  • Imports / Using Statements (03:34)
  • More Visual Studio Features (01:38)
  • Inserting Code Snippets (03:41)
  • ildasm.exe (04:57)
  • How Do I Distribute This App? (01:17)
  • Important Questions (12:06)
  • The Problem? (02:08)
  • The Solution (03:58)
  • .NET Pieces and Parts (01:10)
  • Summary (01:16)
Visual Studio 2005 Demo (20:05)
  • Introduction (00:52)
  • Database Setup (01:05)
  • User Setup (01:02)
  • MSMQ Setup (01:15)
  • Create the ConLink App (01:01)
  • Inserting Code Snippets (01:53)
  • Sub SlowString (03:10)
  • Function Login() (01:13)
  • Function RegGuest (01:00)
  • Add Error Handling (00:45)
  • Sub Main (01:01)
  • Run the App (01:13)
  • Rename a Procedure (01:16)
  • Other Fixup Tools (02:26)
  • Summary (00:49)

Module 2

Intro: .NET Framework Classes (14:23)
  • Introduction (00:56)
  • Looking at System Services (01:11)
  • What"s in the BCL? (01:24)
  • A Note About Namespaces (02:04)
  • System Namespace (02:08)
  • Systems.Collections (00:59)
  • System.Data (00:31)
  • System.Diagnostics (00:33)
  • System.Globalization (00:30)
  • System.IO (00:53)
  • System.NET (00:20)
  • System.Reflection (00:43)
  • System.Security (00:11)
  • System.ServiceProcess (00:16)
  • System.Web.UI.WebControls (00:19)
  • System.Windows.Forms (00:23)
  • Summary (00:56)
.NET Framework Classes (39:14)
  • Introduction (01:15)
  • String Class (01:56)
  • String Class Demo (02:37)
  • StringBuilder Class (01:31)
  • StringBuilder Class Demo (04:04)
  • FileVersionInfo Class (00:39)
  • FileVersionInfo Class Demo (02:34)
  • FileSystemWatcher Class (01:09)
  • FileSystemWatcher Cl. Demo (05:27)
  • New Classes in Framework 2.0 (01:17)
  • Work with Services Demo (00:23)
  • Common Dialog Demo (00:31)
  • Network Event Demo (02:12)
  • Drive Info Demo (00:43)
  • Audio Demo (02:26)
  • My Namespace Simplifies (01:00)
  • Static Classes (00:45)
  • Dynamic Classes (01:55)
  • My Namespace Demo (05:37)
  • Summary (01:04)
Create the Sample Solution (14:11)
  • Introduction (00:33)
  • Create a Blank Solution (00:53)
  • Create the ConData Project (00:50)
  • Registration Class Code (02:52)
  • SQLHotelData Class Code (01:51)
  • Constants Class Code (01:41)
  • Add TestConData Project (01:43)
  • Add Code to TestConData (00:59)
  • Run the TestConData Project (02:19)
  • Summary (00:26)

Module 3

Serializing Data (34:17)
  • Introduction (01:02)
  • Introducing Serialization (00:26)
  • Serialization/Deserialization (01:43)
  • What"s Up? (01:09)
  • Using Serialization (02:36)
  • .NET Framework/Serialization (00:45)
  • Introducing Formatter Objects (00:51)
  • Formatter Classes (01:05)
  • Built-in Serialization Demo (05:02)
  • Built-in Deserialization Demo (02:05)
  • Serialize Customer1 Demo (02:20)
  • Serialize Simple Object Demo (02:30)
  • Where is the Data Going? (00:41)
  • Why Message Queuing? (01:43)
  • Message Queuing Terminology (01:37)
  • Programming Basics (01:14)
  • Send Customer via MSMQ (05:13)
  • Retr. Customer from MSMQ (01:02)
  • Summary (01:03)
Add Messaging to Solution (15:11)
  • Introduction (00:41)
  • Create a Message Queue (02:19)
  • Make Reg. Class Serializable (01:34)
  • Add Queuing Support (01:26)
  • Add NotifyHotel Code (01:34)
  • Add TestQueue Project (02:22)
  • Add Information Into the Queue (01:28)
  • Retrieve info from the Queue (00:35)
  • Run the Application (01:53)
  • Summary (01:14)
Data Access with ADO.NET (44:24)
  • Introduction (00:42)
  • Why ADO.NET (02:08)
  • What is ADO.NET? (01:34)
  • Connected or Disconnected? (01:33)
  • ADO.NET Architecture (03:45)
  • DataTable Object (01:19)
  • Filling a DataTable Manually (00:41)
  • Fill DataTable Demo (02:55)
  • Connecting to a Data Source (00:39)
  • Setting Up Connections (02:24)
  • Commands (01:57)
  • Reading Data with DataReader (00:51)
  • SQL DataReader Demo (03:37)
  • Working With Data (01:42)
  • Getting Data Into a DataSet (00:40)
  • OleDb DataSet Demo (04:01)
  • SQL DataSet Demo (02:29)
  • Fill DataTable Demo (01:44)
  • Viewing Data While Debugging (00:39)
  • Inserting Data (00:50)
  • Insert Data Using Stored Proc. (04:36)
  • New Features in ADO.NET (02:25)
  • Summary (01:02)
Add Data Handling to Solution (10:09)
  • Introduction (00:39)
  • Insert_ConReg Stored Proc. (01:31)
  • SQLConnection/Command (03:01)
  • Insert Parameter Code (00:32)
  • Code That Does the Work (00:41)
  • UpdateHotelReg Procedure (00:49)
  • Test the Code (02:06)
  • Summary (00:47)

Module 4

Windows Services (23:31)
  • Introduction (01:12)
  • What"s Up With Windows Serv. (00:29)
  • Introducing Windows Services (01:07)
  • View Current Running Services (02:25)
  • Things to Consider (02:21)
  • Steps for Building Win. Serv. (00:44)
  • Create a Windows Service (01:37)
  • FileSystemWatcher1_Created (03:09)
  • Install/Run the Windows Serv. (04:17)
  • Uninstall the Windows Service (00:36)
  • Debugging Your Service (04:17)
  • Summary (01:13)
Add Win. Service to Solution (10:18)
  • Introduction (00:45)
  • Create ConDaemon Project (00:58)
  • Add MessageQueue Comp. (00:43)
  • Add Installer (00:35)
  • Add Code for the Service (03:16)
  • Install the Service (00:39)
  • Debug the Service (00:25)
  • Test the Service (01:17)
  • Uninstall the Service (00:29)
  • Summary (01:05)
Windows Forms (55:50)
  • Introduction (00:55)
  • Why Windows Forms? (01:24)
  • Not Just About User Interface (01:14)
  • Visual Inheritance (01:36)
  • Forms in Visual Studio (00:59)
  • Create a New Windows App. (00:41)
  • Windows Forms Controls (01:45)
  • Form1.Designer.vb code (01:45)
  • Creating an MDI App. (00:29)
  • Create a Base Form (01:42)
  • Anchoring / Docking (01:53)
  • Create an Inherited Form (04:45)
  • Disp. Forms Programmatically (02:07)
  • Examine Event Handler Code (01:28)
  • Add Code to the Base Form (01:57)
  • Snap Lines (04:35)
  • Background Thread Demo (02:55)
  • BackgroundWorker Comp. (07:06)
  • Data Binding Example (05:35)
  • New Controls in VS 2005 (03:50)
  • ClickOnce Deployment (00:59)
  • Deployment Demo (04:52)
  • Summary (01:07)
Add ConMon to Solution (08:35)
  • Introduction (00:46)
  • Create RegData Class (02:21)
  • Create ConMon Project (02:19)
  • Add Code to ConMon Project (01:33)
  • Run the Sample Project (00:29)
  • Summary (01:05)

Module 5

ASP.NET Web Forms (51:45)
  • Introduction (00:55)
  • What"s Good: Classic ASP? (00:53)
  • What"s Bad: Classic ASP? (01:15)
  • Introducing ASP.NET (01:23)
  • ASP.NET Requirements (02:16)
  • Designing Web Pages (00:34)
  • Create a New Web Application (04:07)
  • Add Controls to a Web Page (01:26)
  • Run the Web Page (01:56)
  • View Source of Web Page (01:24)
  • .aspx and .vb Source Files (00:59)
  • What Happened? (00:56)
  • Separation of UI and Code (00:37)
  • How Web Pages Work (01:47)
  • Web Forms (00:41)
  • Server Controls (01:01)
  • Server-Side Control Classes (00:50)
  • Web Controls (02:46)
  • Login Controls Demo (02:48)
  • Calendar Control Demo (03:41)
  • Validation Controls Demo (07:51)
  • Data Binding Demo (10:22)
  • Summary (01:07)
Add Website to Solution (17:28)
  • Introduction (00:42)
  • Create ConWebReg Website (01:13)
  • Create a Stylesheet (00:43)
  • Apply the Stylesheet (00:25)
  • Create a Table (04:05)
  • Add Validation Controls (05:39)
  • Add Code to Save Data (02:24)
  • Run the Website (01:04)
  • Summary (01:09)

Module 6

Add Web Service to Solution (12:42)
  • Introduction (00:50)
  • Create ConService WS (01:01)
  • WebMethod RegisterGuest (00:52)
  • Impersonation in web.config (01:20)
  • Modify ConDaemon (02:12)
  • Install the ConDaemon (00:34)
  • Test the Application (02:17)
  • Is It Time to Go Home Yet? (01:09)
  • Summary (02:24)
COM Interoperability (22:11)
  • Introduction (01:03)
  • Why COM in a .NET World? (00:25)
  • COM Nomenclature (00:54)
  • COM and the CLR (00:37)
  • Bi-Directional COM Interop (00:33)
  • Calling COM from .NET (00:30)
  • .NET Using COM Interop (01:06)
  • How Do I Do It? (00:44)
  • Create an ActiveX DLL (01:38)
  • Call ComDemo From Excel (01:11)
  • Call ConDemo From VS 2005 (04:18)
  • Object Lifetime (03:46)
  • What About Deployment? (01:58)
  • Set Up Reg-Free COM (02:10)
  • Summary (01:11)
COM Interoperability Demo (07:53)
  • Introduction (00:44)
  • OldConMan ActiveX DLL (02:38)
  • Update Code in RegGuestNow (02:09)
  • Test OldConMan ActiveX DLL (01:07)
  • Summary (01:14)
Web Services (29:14)
  • Introduction (00:46)
  • What"s The Problem (01:01)
  • Introducing Web Services (01:32)
  • It"s All About Standards (00:51)
  • Transporting Information (01:09)
  • Web Services and You (01:10)
  • Consuming a Web Service (01:33)
  • Consume an Exisiting WS (00:25)
  • Set a Reference to the WS (02:10)
  • Add Code to Call the WS (01:18)
  • Test the Web Service (00:36)
  • Reference.vb file (01:28)
  • Call a More Complex WS (03:27)
  • Look For Other Web Serivces (01:37)
  • Making Web Service Requests (01:27)
  • Create a New Web Service (03:41)
  • Test the Web Service (01:31)
  • Consume the Web Service (01:32)
  • Deploy the Web Service (00:33)
  • Summary (01:18)