MS2559 - Introduction to Visual Basic .NET Programming with Microsoft .NET
This course provides students with the knowledge and skills needed to develop applications in Microsoft
Visual Basic® .NET for the Microsoft .NET platform. The course 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. This course is intended for both novice and experienced programmers who have a minimum of three months programming experience and have basic Microsoft Windows® navigation skills. After completing this course, students 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 and build, package, and deploy an application.
Module 1: Getting Started
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 .NET
Module 2: Working with Forms and Controls
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
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
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
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
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
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
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
Creating Menus
Creating Status Bars
Creating Toolbars
Module 10: Web Forms and XML Web Services
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
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
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