MS2565 - Developing Microsoft .NET Applications for Windows (Visual Basic .NET)
This course provides students with the skills required to build Microsoft® Windows® Forms
applications by using the Microsoft .NET Framework. This course is a part of the
Microsoft Visual Basic .NET curriculum and is intended to provide Visual Basic programmers with the skills required to create Windows Forms applications by using the .NET Framework. The course will cover the major topics for Windows client application programming on the .NET Framework. These topics include: Windows Forms, GDI+, simple data access, interoperating with unmanaged code, threading and asynchronous programming issues, simple remoting, Web access, XML Web services consumption, debugging, security, and deployment issues for desktop applications. This course is intended for the intermediate programmer who is responsible for designing and building Windows-based applications with the .NET Framework. It is designed for developers who have Visual Basic development skills.
Module 1: Introducing Windows Forms
Creating a Form
Adding Controls to a Form
Creating an Inherited Form
Organizing Controls on a Form
Creating MDI Applications
Lab 1.1: Creating Windows Forms
Creating a New Windows Form
Inheriting a New Form from an Existing Windows Form
Module 2: Working With Controls
Creating an Event Handler for a Control
Using Windows Forms Controls
Using Dialog Boxes in a Windows Forms Application
Adding Controls at Run Time
Creating Menus
Validating User Input
Lab 2.1: Working with Controls
Creating and Using Controls
Module 3: Building Controls
Extending and Creating Controls
Adding Design-Time Support for Controls
Licensing a Control
Lab 3.1: Building Controls
Declare an Event and Raising It from an Extended Control
Creating a Composite Control
Adding Design-Time Support
Module 4: Using Data in Windows Forms Applications
Adding ADO.NET Objects to and Configuring ADO.NET Objects in a Windows Forms Application
Accessing and Modifying Data by Using DataSets
Binding Data to Controls
Overview of XML Web Services
Creating a Simple XML Web Services Client
Persisting Data
Lab 4.1: Accessing Data with ADO.NET
Generating and Populating DataSets
Modifying a DataSet
Updating a DataSet to a DataSource
Binding and Formatting Data in Controls
Lab 4.2: Calling an XML Web Service
Calling an XML Web Service
Module 5: Interoperating with Managed Objects
Using .NET and COM Components in a Windows Forms Application
Calling Win32 APIs from Windows Forms Applications
Upgrading Visual Basic 6.0 Applications to Visual Basic .NET
Lab 5.1: Interoperating with COM and Calling Win32 APIs
Using a COM Component in a .NET-Based Application
Calling Win32 APIs from a .NET-Based Application
Module 6: Printing and Reporting in Windows Forms Applications
Printing From a Windows Forms Application
Using the Print Preview, Page Setup, and Print Dialogs
Constructing Print Document Content by Using GDI+
Creating Reports by Using Crystal Reports
Lab 6.1: Printing Formatted Documents
Adding Print Support to an Application
Creating Printed Output by Using GDI+
Module 7: Asynchronous Programming
The .NET Asynchronous Programming Model
The Asynchronous Programming Model Design Pattern
How to Make Asynchronous Calls to Any Method
Helpting to Protect State and Data in a Multithreaded Environment
Lab 7.1: Making Asynchronous Calls to an XML Web Service
Converting Synchronous Calls to Asynchronous Calls
Module 8: Enhancing the Usability of Applications
Adding Accessibility Features
Adding Help to an Application
Localizing an Application
Lab 8.1: Enhancing the Usability of an Application
Adding Support for Accessibility
Adding Help to an Application
Adding ToolTips to an Application
Localizing the User Interface of an Application
Localizing Resources in an Application
Module 9: Deploying Windows Forms Applications
.NET Assemblies
Deploying Windows Forms Applications
Lab 9.1: Deploying an Application
Building and Referencing a Strong-Named Assembly
Installing a Strong-Named Assembly into the Global Assembly Cache
Deploying a .NET Application
Using an Application Configuration File
Module 10: Securing Windows Forms Applications
Security in the .NET Framework
Using Code Access Security
Using Role-Based Security
Lab 10.1: Adding and Testing Permission Requests
Adding and Testing Permission Requests