Moving from VB6 to VB.NET
![Pluralsight](https://static.mytechlogy.com/cache/198e0a947da0127606f2749b57b54665_w30_h30_cp_sc.png)
Pluralsight
Course Summary
This mini-course presents the main issues, options and tools in moving from VB6 to VB.NET
-
+
Course Description
Visual Basic 9.0, hitting the scene in late 2007, is a sophisticated and mature programming language. Combined with the latest release of the .NET Framework and Visual Studio, the result is an incredibly powerful programming environment. This mini-course will start the VB6 developer down the path to VB.NET, presenting a variety of topics including tool support, porting options, thinking the "VB.NET-way" vs. the "VB6-way", and some of the major differences of VB.NET and .NET over VB6 and COM. Along the way, we'll see many VB6 and VB.NET coding examples involving GUIs, data access, classes, and OOP.
-
+
Course Syllabus
VB6 to VB.NET: The Big Picture- 1h 4m
—Introduction 0m 23s
—Module overview 0m 47s
—'This will only hurt a little bit' --- similarities between VB6 and VB.NET 0m 33s
—The devil is in the details --- differences... 1m 38s
—The good news --- transition help and benefits 1m 40s
—Demo: a simple listbox app in VB6 0m 36s
—Demo: equivalent listbox app in VB.NET 0m 11s
—Demo: creating VB.NET project in Visual Studio 2008 1m 5s
—Demo: creating the UI 1m 29s
—Demo: programming Load event, compile, run 1m 26s
—Demo: configuring button and programming Click event 1m 45s
—Demo: With statement and VB.NET background compilation 2m 12s
—Demo: VB.NET support for form resizing 1m 35s
—Demo: summary of VB.NET listbox app 0m 57s
—What's so different about VB.NET? 0m 11s
—Major difference #1: a new run-time (CLR) 2m 11s
—Major difference #2: compilation to platform-neutral assembly language (MSIL) 2m 30s
—Major difference #3: a new component resolution algorithm (e.g. GAC) 3m 55s
—Strategies for moving from VB6 to VB.NET 1m 53s
—Overview of Microsoft's VB6 Upgrade Wizard (one possible strategy) 2m 16s
—Demo: upgrade wizard example #1 of single-tier VB6 database app 1m 35s
—Demo: running upgrade wizard 2m 33s
—Demo: upgrade wizard's generated result 1m 51s
—Demo: reviewing the upgrade report 1m 38s
—Demo: warning, 'generated data access code may not scale' 0m 45s
—Summary of upgrade wizard demo #1 0m 49s
—Demo: upgrade wizard example #2 of MDI-based text editor 1m 39s
—Demo: running the upgrade wizard 2m 1s
—Demo: upgrade wizard's generated result 1m 13s
—Demo: upgrade issue #1, dynamic binding 3m 28s
—Demo: upgrade issue #2, dynamic vs. static binding 2m 54s
—Demo: upgrade issue #3, the 'My.' productivity framework 2m 24s
—Summary of upgrade wizard demo #2 1m 5s
—Overview of Microsoft's Code Advisor for VB6 1m 27s
—Demo: running Code Advisor for VB6 2m 50s
—Overview of mixed-mode projects (another possible strategy) 1m 8s
—Mixed-mode trade-offs 2m 12s
—Our Training Goal 0m 51s
—Resources 1m 26s
—Summary 1m 21s
—Questions? Email address and blog URL 0m 24sLanguage Changes: VB6 to VB.NET- 1h 3m
—Introduction 0m 12s
—Module overview 0m 25s
—Module subtext --- ways of thinking (VB6 vs .NET vs VB.NET) 1m 0s
—Module examples --- overview 0m 50s
—Example #1: Reading from a text file in VB6 1m 29s
—Demo: example #1 in VB.NET --- 'the VB6 way' 4m 16s
—Summary of example #1 'the VB6 way' 0m 50s
—What's wrong with the 'VB6' way of writing VB.NET? 1m 46s
—Again with example #1 in VB.NET --- this time 'the .NET way' 0m 18s
—Exception handling with Try-Catch 1m 31s
—Files and the StreamReader object 0m 46s
—Proper close/cleanup with Using 1m 19s
—Catching and Throwing exceptions 2m 22s
—Summary of example #1 'the VB.NET way' 0m 16s
—Again with example #1 in VB.NET --- this time 'the VB.NET way' 0m 51s
—Example #2: a Product class in VB6 1m 24s
—Using a VB6 class 0m 36s
—Motivating VB.NET changes to Product class 0m 14s
—Real constructors! 1m 14s
—Garbage collection instead of reference counting! 1m 12s
—Demo: Product class in VB.NET 2m 31s
—Demo: using Product class in VB.NET 2m 30s
—Summary of Product Class in VB.NET 1m 34s
—Class Properties in VB6 0m 47s
—Demo: Class Properties in VB.NET 3m 48s
—Summary of Class Properties in VB.NET 0m 37s
—Example #3: data access in VB6 2m 34s
—Example #3 in VB.NET --- 'the VB6 way' 2m 19s
—Again example #3 in VB.NET --- this time 'the .NET way' 0m 18s
—DataSets == disconnected recordsets 0m 34s
—Factory pattern for database-neutral, reusable code 4m 0s
—Collection vs Dictionary 1m 18s
—Generics! 1m 44s
—Working with DataSets 1m 30s
—Demo: working with DataSets 3m 54s
—Working with Factory objects, filling DataSets 1m 16s
—Demo: Factory objects and Filling DataSets 5m 47s
—Summary of Factory objects and filling DataSets 0m 28s
—Resources 0m 44s
—Summary 1m 44s
—Questions? Email address, blog URL 0m 18s