TGN

The VB Language


This 3 day course covers Visual Basic as a language without targetting any particular application type. A basic knowledge of programming is assumed, though not any particular language. We also offer alternative courses for those interested in the language as well as a particular target such as Windows Forms, ASP.Net or WPF.

The 3 day course costs £1770 in total for up to 6 students, plus VAT and the instructor's reasonable expenses. Each student beyond 6 would cost £20 for the additional course materials.

If you are interested in this course, please contact us by email at enquiries@tgn.co.uk or by phone on
+44 (0)1285 713297.

Introduction

The .Net platform. The Common Language Runtime (CLR) and Intermediate Language. Visual Basic, its alternatives and variations. The Visual Basic environment. Introducing object orientation. Good practice.

Using Variables

Variable Types, Scope and Lifetime. Nullable types. Arrays.

Control Flow

If, For Next, Do While/Until, For Each, Select Case.

Structured Programming

Subroutines and functions. Argument passing mechanisms. Named and optional arguments. Public, Private and the use of modules.

Object Orientation

Software engineering and components. Classes, objects and the use of 'New'. Encapsulation. Namespaces and assemblies. Benefits of object orientation.

Inheritance

The use of ‘Overridable’ and ‘Overrides’. Benefits of inheritance. Hiding and Shadows. Abstract classes. Constructors and initialization. Casting. Collection classes. Generics. Collection examples.

Interfaces

The benefits of interfaces. Interfaces vs classes. Defining and implementing an interface. Common interfaces.

Exception Handling

Comparison with ‘Err’ and ‘On Error’. Try and Catch. Finally. Custom Exceptions.

Files, Streams and Networking

The .Net Stream architecture. Streams, Readers and Writers. Serialization and SOAP. The Socket and Tcp classes. Basic network communication. Clients and multithreaded servers.

Advanced Language Features

Passing parameters ByVal and ByRef. Variable length parameter lists. Extension methods. Operator overloading. Dispose and Using. Delegates and multicast delegates. Calling Dlls and the Windows API (PInvoke).

The Dynamic Language Runtime

Supporting dynamic languages. ExpandoObject. DynamicObject. Office support.

Multitasking

Parallel execution. Parallel For and ForEach. Tasks, threads and the thread pool. Priorities and background threads. Background workers. Synchronization and monitors. Controlling tasks and threads. Starting and controlling processes.

Deployment

XCopy deployment. DLLs and the Global Assembly Cache (GAC). Signing. strong names and versioning. No-touch and click-once deployment.

Copyright © 1996 - 2010 The Graphics Network Ltd. Registered in England No. 2549085
All trademarks used on this site are respectfully acknowledged.
Microsoft is a registered trademark of Microsoft Corporation in the United States and other countries.