Introduction to Visual Basic .NET Programming with Microsoft .NET (Course Code: 2559)

Course Schedule:

Please call 8622 8900 or email us for further information
Microsoft Certified Partner

Overview:

This five-day instructor-led course will provide you with the knowledge and skills needed to develop applications in Microsoft Visual Basic .NET for the Microsoft .NET platform. It focuses on user interfaces, program structure, language syntax, and implementation details.
This is the first course in the Visual Basic .NET curriculum and will serve as the entry point for other .NET courses.

Learning method:

This course is presented in a lecture/tutorial style using a combination of lectures, group discussions and practical exercises. Each student will be provided with a comprehensive set of course notes.
This hands-on course combines exercises and practical work to solidify your learning.

Who will benefit from this course?

This course is intended for both novice people with little or no programming experience and programmers who have experience in older technologies who wish to update their skills.

Pre-requisites:

Before attending this course, you must have some understanding of the basics of structured programming, including concepts such as flow control, variables and parameters, and function calls.

What can you expect to gain from this course?

After completing this course, you will be able to:

  • create a simple Visual Basic .NET–based application based on the Windows Application template
  • use forms and controls to create a user interface
  • create and use variables and arrays
  • create and use Sub and Function procedures, including predefined functions
  • implement decision structures and loops by using conditional expressions
  • validate user input for fields, controls, and forms
  • apply object-oriented programming techniques to create classes, add methods, and add properties
  • resolve syntax, run-time, and logic errors by using the debugger and structured exception handling
  • enhance the user interface by adding menus, status bars, and toolbars
  • create a simple Visual Basic .NET–based Web Forms application that uses an XML Web Service
  • access and manipulate data in a Microsoft Access or Microsoft SQL Server™ database by using Microsoft ADO.NET
  • build, package, and deploy an application.

Course Outline:

Module 1: Getting Started
  • This module introduces Visual Basic .NET and explains how it fits into the .NET platform. It explains how to use the programming tools in Microsoft Visual Studio .NET and provides enough practice so that you can create your first application in Visual Basic .NET.
  • Basic .NET Concepts
  • Exploring the Development Environment
  • Creating a Visual Basic .NET Project
  • Lab 1.1: Creating Your First Application
  • Exercise 1: Creating Your First Application in Visual Basic
Module 2: Working with Forms and Controls
  • This module explains fundamental programming concepts, including event-driven programming, classes, objects, properties, methods, and events. This module also explains how to use forms and controls to create a user interface. This includes the following: how to create a form, set properties, call methods, and write code for events, how to add controls to a form, how to manage multiple forms, how to use message boxes, how to use naming conventions, and how to format and document code.
  • Understanding programming concepts
  • Working with windows forms
  • Working with controls
  • Styling your code
  • Lab 2.1: Creating the user interface
  • Exercise 1: Creating the main form
Module 3: Using Variables and Arrays
  • This module explains how to name, declare, assign values to, and use variables and constants. It explains how to declare variables with different levels of scope, how to create your own data structures, and how to convert variable values from one data type to another. It also describes how to store data in an array.
  • Introduction to data types
  • Using variables
  • Variable scope
  • Converting data types
  • Creating and using structures
  • Storing data in arrays
  • Lab 3.1: Creating and using variables
  • Exercise 1: Using static variables
  • Exercise 2: Creating, using, and converting variables
  • Lab 3.2: Using structures and arrays
  • Exercise 1: Creating a structure
  • Exercise 2: Creating and using arrays
Module 4:Working with Procedures
  • This module describes how to create and use Sub and Function procedures, including predefined functions, and how to structure code for increased reusability.
  • Creating procedures
  • Using procedures
  • Using predefined functions
  • Lab 4.1: Creating and using procedures
  • Exercise 1: Creating functions in a module
  • Exercise 2: Working with the main form
Module 5:Decision Structures and Loops
  • This module explains how to implement decision structures and loop structures to control program output and execution.
  • Using conditional expressions
  • Using decision structures
  • Using conditional loop structures
  • Lab 5.1: Using decision structures
  • Exercise 1: Checking user input
  • Exercise 2: Confirming application close
Module 6: Validating User Input
  • This module explains how to validate user input at both the field level and the form level. It describes how to handle invalid input by providing error messages and guiding users through the process of finding and fixing errors. It describes how to use control properties and methods to restrict and validate data entry.
  • Restricting user input
  • Validating field data
  • Validating form data
  • Lab 6.1: Validating user input
  • Exercise 1: Validating user input
Module 7:Object-Oriented Programming in Visual Basic .NET
  • This module explains how to create and use classes. The module explains the concepts of abstraction, encapsulation, instantiation, initialisation, constructors, and destructors. This module also describes inheritance, polymorphism, and namespaces.
  • Understanding classes
  • Working with classes
  • Using shared members
  • Inheritance, polymorphism, and namespaces
  • Lab 7.1: Creating a derived class
  • Exercise 1: Creating a derived form class
Module 8:Handling Errors and Exceptions
  • This module explains types of errors that can occur in a program and explains how to use the debugging tools provided with Visual Basic .NET to help diagnose and correct the errors. These tools include the Visual Studio .NET debugger, debugging windows, and structured exception handling.
  • Types of errors
  • Using the debugger
  • Handling exceptions
  • Lab 8.1: Implementing structured exception handling
  • Exercise 1: Using try…catch blocks
  • Exercise 2: Using try…catch…finally blocks
Module 9:Enhancing the User Interface
  • This module explains how to create menus, status bars, and toolbars to enhance the usability of an application.
  • Creating menus
  • Creating status bars
  • Creating toolbars
Module 10: Web Forms and XML Web Services
  • This module explains how to create a Web Forms application and how to invoke a simple XML Web service.
  • Working with web forms
  • Using XML web services
  • Lab 10.1: Creating a web application
  • Exercise 1: Creating the user interface
  • Exercise 2: Using XML web services
Module 11:Using ADO.NET
  • This module explains how to use ADO.NET with a Windows Forms application to create, read, update, and delete records in Access and SQL Server databases.
  • Database concepts
  • Overview of ADO.NET
  • Working with data
  • Lab 11.1: Accessing data with ADO.NET
  • Exercise 1: Using the data form wizard
Module 12: Deploying Applications
  • This module explains how to deploy applications by using Visual Studio .NET. The module also describes deployment options available in Visual Basic .NET, and how to create and configure a setup project for a Windows-based application.
  • Introduction to deployment
  • Deploying a Windows-based application
  • Lab 12.1: Deploying an application
  • Exercise 1: Using the setup wizard
  • Exercise 2: Installing the loan application