LearnKey Training

VB.NET For Developers Part 3

VB.NET Part 3


VB.NET For Developers Part 3

7 Sessions –
21 Hours of Interactive Training
VB.NET for Developers parts 1 and 2 brought Visual Basic application builders up to date on all the new features and programming requirements of VB.NET including language features, the .NET framework, ADO.NET, object-oriented programming, Windows Forms, XCopy deployment, and more. Now in Part 3, expert instructor Ken Getz takes you further into advanced VB.NET development topics.

Prerequisites: Previous programming experience, familiarity with Visual Basic 6 and a basic understanding of the .NET platform are helpful.

Benefits
  • Increase your earning potential with in-demand IT programming knowledge.
  • Gain technical mastery of development tools and demonstrate your IT proficiency.
  • LearnKey courses let you move along at your own pace and gain new skills in a useful, productive manner.
  • Also Available:

    About The Author
    Ken Getz is a senior consultant with MCW Technologies. He has been a Microsoft MVP since 1995. Getz has written for MSDN, Visual Basic Programmer's Journal, asp.netPRO, Access-VB-SQL Advisor, MSOfficePro, and SQL Server Magazine. He speaks regularly at industry conferences, including Microsoft's Tech-Ed and DevDays, and DevConnections, VBITS, and Advisor Devcon.
    Session 1

    Section A: Extending Classes
    · FileSearch0
    · Startup
    · Modify FileSearch0
    · FileSearch1
    · Execute Method
    · Event Interface
    · Multiple Listeners

    Section B: Introducing Delegates
    · What is a Delegate?
    · Declare a Delegate
    · Invoke Method
    · Shared vs. Instance
    · Multicast Delegate

    Section C: Working with Events
    · Events Basics
    · The VB6 Way
    · Simple EventHandler
    · ILDasm to View
    · Multiple Event Handlers

    Section D: Events & Delegates
    · Throwing Exceptions
    · Examine Exceptions
    · Manual Invocation
    · Event Design Pattern
    · Create a Class
    · Create a Procedure
    · Delegate Setup
    · Raise/Sink Event

    Section E: Processes & Threads
    · What is a Thread?
    · Multiple Threads
    · Multithreading Pros
    · Multithreading Cons
    · Threads & the OS
    · Asynchronous Behavior

    Section F: Forms/Thread Problems
    · Problem Overview
    · Invoke Method
    · Create Delegate Type
    · DebugThreadID


    Session 2

    Section A: Asynchronous Delegates
    · Creating a Delegate
    · Invoke vs. BeginInvoke
    · The Async Analogy
    · Using BeginInvoke
    · EndInvoke Method
    · Run the Sample
    · Fix the Sample

    Section B: Using the Thread Pool
    · Queue Async Method
    · Passing State
    · Run the Queue
    · Concurrent Threads

    Section C: .NET Timers
    · Timer Control
    · TickHandler
    · Threading.Timer
    · TimerHandler Callback
    · Update Interval
    · Timers.Timer
    · Timer Component

    Section D: Creating Threads
    · Thread Procedure
    · Start Method
    · Thread Processing
    · Data
    · Debug Multithreading
    · Setting Priorities

    Section E: Managing Threads
    · Threads Forms
    · ThreadState Property
    · IsBackground Property
    · Start Method
    · Suspend/Resume Method
    · Abort Method
    · Join Method
    · Cancel/Reset Method

    Section F: Managing Data
    · Data Collisions
    · Multiple Threads
    · Thread Update Issues
    · Interlocked Class
    · Solutions
    · SyncLock Statement
    · Monitor Class
    · Mutex Class


    Session 3

    Section A: Introduction to WMI
    · Code Sample
    · Drive Information
    · Classes
    · Background
    · Documentation
    · Win32_SCSIController

    Section B: WMI Classes
    · ManagementObject
    · WMI Data Types
    · ManagementScope
    · ManagementClass
    · Investigate Classes
    · GetInstances Method

    Section C: WMI Queries & Properties
    · Queries
    · Refined Searches
    · SelectQuery Class
    · WQL Query
    · Modify Object Properties
    · CallMethod

    Section D: Server Explorer Extensions
    · Server Explorer Window
    · Management Classes
    · Invoke a Method
    · Object Properties
    · Add a Class
    · Wrapper Classes
    · View Code

    Section E: WMI Event Handler
    · Verify Event Handler
    · WqlEventQuery
    · Event Query Syntax
    · Pass Parameters
    · Hooking Up Events
    · ServiceModified
    · Modifying Events
    · Create/Delete Event

    Session 4

    Section A: WMI Asynchronously
    · Synchronous Demo
    · Run Synchronous
    · Managing Async Ops
    · Create Event Handlers
    · Set/Clear Hooks
    · Runtime Behavior

    Section B: Server Explorer Events
    · Management Events
    · Add Event Query
    · Query Conditions
    · Watcher Properties
    · Form Code

    Section C: Serialization Basics
    · Persistence
    · .NET Framework
    · Formatter Objects
    · Serialize Array List
    · Deserialization
    · Formatters
    · Custom Serialization

    Section D: Serializing Complex Objects
    · Design Structure
    · Build/Point to Objects
    · Create/Add View
    · Fill Object Graph
    · Serialize/Deserialize

    Section E: Clone & Serialize Objects
    · MemberwiseClone Method
    · Shallow Copy
    · Create Deep Clone
    · Multiple Objects
    · Deserialize in Order
    · Binary Output

    Section F: Custom Serialization Process
    · Default Serialization
    · Custom Serialization
    · SerializationInfo
    · Create BitArray
    · AddValue
    · Custom Deserialization
    · BitArray Results


    Session 5

    Section A: Introducing Attributes
    · Visual Basic 6
    · Visual Basic .NET
    · Attribute Syntax
    · Attributes as Classes
    · WebServiceAttribute
    · DebuggerStepThrough
    · Obsolete
    · Attribute Application

    Section B: Custom Attributes
    · Building Custom
    · Define Usage
    · Specify Usage
    · Applying Attributes
    · System.Type Class
    · System.Reflection
    · Methods
    · DumpAttributeInfo

     



    VB.NET For Developers Part 3 continued

    Section C: Introducing Reflection
    · Reflection Classes
    · Assembly
    · Review Assembly Code
    · Retrieve Type Object
    · Type Properties
    · MemberTypes
    · GetMethods

    Section D: Using Reflection
    · Late Binding
    · Late Binding & Math
    · MathAttribute Class
    · DecimalMath Class
    · IntegerMath Class

    Section E: Using Reflection (cont.)
    · Load Event Handler
    · GetClasses Method
    · FillMethodList Method
    · GetList Method
    · Filter Function
    · EnableCheck
    · SetRaiseSimple Errors
    · Invoke Selected Method


    Session 6

    Section A: PrintDocument Class
    · Printing in .NET
    · Print Features
    · Print Preview
    · PrintDocument Setup
    · BeginPrint Event
    · QueryPageSettings
    · PrintPage Event

    Section B: Tabular Report
    · Print Setup
    · Simple Variables
    · Graphic Code
    · Alignment
    · HandlePrintPage
    · HasMorePages Property

    Section C: Page/PrinterSettings Class
    · Page Setting Basics
    · Enumerated Properties
    · GetPaperSize
    · Run Sample Report
    · PrinterSettings Class
    · Printer Properties
    · Set Default Printer
    · View Print Code

    Section D: Print-Related Controls
    · PageSetupDialog
    · PrintDialog Class
    · PrintPreviewDialog
    · PrintPreviewControl
    · Load Form

    Section E: Complex Report
    · Page Dimensions
    · Unprintable Region
    · Real Printable Region
    · Image Report
    · Image BeginPrint
    · Headers & Footers
    · PrintPage Handler
    · Fitting an Image

    Session 7

    Section A: Introduction to XML DOM
    · Main .NET APIs
    · Tree-Based Handling
    · Tree-Based Model
    · Non-Cached Handling
    · What is XML DOM?
    · Simple vs. Tree-Based

    Section B: Reading XML Data
    · Load XML Data
    · Child Nodes
    · View All Nodes
    · TraverseTree Method
    · Elements
    · Elements by Name
    · Retrieve Text Nodes

    Section C: Working with Nodes
    · Using XPath
    · SelectNodes Method
    · Select Single Node
    · Find Related Nodes
    · Retrieve Attributes
    · Single Attribute

    Section D: Create & Modify XML
    · Add Nodes
    · Add/Delete Elements
    · Create XML File
    · Modify Nodes
    · RemoveAll Method
    · Add/Delete Attributes
    · Modify Values
    · Not Well Formed

    Section E: Existing Control Inheritance
    · Control Creation
    · Why Inherit?
    · Required Steps
    · Add Inherit Control
    · Assign Properties
    · Bitmaps
    · Hide a Property

    Section F: Create Custom Controls
    · Base Control Class
    · Control Properties
    · Drawing the Checkbox
    · Resizing
    · Default Value Property
    · Raising Events
    · More Features

    Section G: Composite Controls
    · Why Composite?
    · Required Steps
    · Sample Combination
    · Create from Scratch
    · Setting Default Text
    · Serial Text Property
    · Data Binding