Call for Latest Dates
Call us on 0870 7777 388 for availability on this course.
Have questions or need a better city/date? Ask now.
|
The course will provide a basis for programming object oriented applications using Visual Basic .NET 2005. The content is focussed on object creation, inheritance and interfaces, plus file IO, serialization and threading techniques. The course will also cover some of the new language features in .NET 2 such as generics. Audience Visual Basic .NET programmers who have basic language skills in Visual Basic .NET who which to develop their skills in object programming, using the latest Microsoft development technologies. Those delegates working towards MCPD: Windows Developer certification. Prerequisites Before attending this course, it is recommended that delegates: -
- Are able to manage a solution using the Visual Studio 2005 IDE and tools
- Understand the Microsoft .NET Framework 2.0 and the Common Language Runtime
- Have application programming experience with a .NET Framework 2.0 compliant language (C# or VB.NET)
- Know how to make assemblies available to other applications
- Have a basic knowledge of XML including XML syntax.
-
- Home About us Services Certification Special offers News Contact us
- Privacy statement Terms and conditions Site Map
Course Outline - Define Methods/Properties Local to the New Class
- Polymorphism and Virtual Methods8
- Protected
- Inheritance and Constructors
- Inheriting from System.Object
- Overriding ToString
- Overloading Equals
- Use of the CType Function
- Form Inheritance
-
Events and Delegates -
- Events
- Handling Events
- Handling Multiple Events
- The WithEvents Keyword
- Using Class Events
- Declaring the Event
- Raising the Event
- Responding to the Event
- Delegates
- Delegate Implementation
- Multicasting Delegates
-
Object Lifetime -
- Garbage Collection
- Object Destructors
- Points to remember:
- Implementing a Dispose Method
- Good working practices: Using Try-Finally
- Good working practices: Using Block
- Releasing COM Object
-
Interfaces -
- Designing our own Interfaces
- Defining the IUserProfile Interface
- Implementing the IUserProfile Interface
- Using the Interface
- Overloading Methods
- Implementing Multiple Interfaces
- Interface Inheritance
- An example of implementing a .NET Framework Interface
- IComparable
- When to Use Interfaces and when to Use Inheritance?
-
Generics -
- Generics in VB.NET
- Understanding Generics
- Avoiding type Casting
- Advantages of Generics
- Terms used in Generics
- Applying Constraints to a Generic Type
-
The My Namespace -
- What's in My Namespace?
- Reading a Text File
- FileSystem Actions
- Playing Sounds
- Network Settings
- My.User
- Web Services
- Retrieve the Application Path
- Checking Disk Drive Space
- Clearing the Clipboard
- Writing to the Application Log
-
Regular Expressions -
- The File System Object Model
- Managing Files with System.IO
- Copying and Deleting Files
- File Attributes Description
- Working with Directories
- A directory listing utility
- Working with Paths
- I/O with Files
-
Assemblies and Threading -
- The System.Runtime.Serialization Namespace
- Binary vs. XML Serialization
- Basic Serialization vs. Custom Serialization
- Using the IXmlSerializable Interface
- How the IXmlSerializable Methods Work
- Implementing the IXmlSerializable Interface
- Reading and Writing the XML
- Reading Serialized Data through a Web Service
-
PInvoke and COM Interop - Using PInvoke in VB.NET
- Using the Declare Statement
- Using DllImport
- Parameter Type-Mapping
- COM Interoperability in .NET
- Using a .NET Server Component from COM Clients
- Writing and Compiling the Managed Code
- Generate a Type Library and Register the Assembly
- Installing the Assembly
- Writing and Compiling the Unmanaged Code
- Using a COM Component in a .NET Client
- Write and Compile the Unmanaged Code
- Importing the Type Library
- Install the Assembly in the Global Assembly Cache (optional)
- Write .NET Client Code with Reference to the Assembly
- v1.0
How to make a booking for the VB05-OO course
|