Windows Forms 4.0 Programming Using Visual Basic.NET
Total Page:16
File Type:pdf, Size:1020Kb
Windows Forms 4.0 Programming Using Visual Basic.NET
Students Will Learn:
.NET Framework Architecture VB.NET Language Syntax
Managing Run-time Exceptions Using Windows Forms and Handling Events
Working with Controls Designing and Using Dialogs
Interacting with Databases Using Data Binding
File I/O XML & Web Services
Course Description: This course provides students with hands on experience using Visual Studio to create desktop applications with the .NET 4.0 Framework using Visual Basic.NET. This class provides a thorough introduction to the Visual Basic.NET programming language, including coverage of the essentials of the VB.NET programming language, built in data types, operators, control structures, classes and methods. Students then learn how to leverage the power of the .NET Framework and Windows Forms to build graphical user interfaces for desktop applications. Students will learn how to build modal and modeless dialogs and work with a variety of .NET controls. Students also learn how to use ADO.NET to interact with data sources and display data. Other topics include: error handling and debugging; using a .config file to control application configuration; developing and consuming web services; file I/O; using XML data with DataSets; and deploying windows forms applications. Comprehensive labs and exercises provide the students with experience creating and deploying windows desktop applications. This course provides thorough coverage of the use of Windows Forms for desktop applications. Students requiring additional coverage of Web Forms or Windows Presentation Foundation should contact HOTT to discuss additional training available.
Course Prerequisites: Prior programming experience is required. Windows Forms 4.0 Programming Using Visual Basic.NET Course Overview:
Introduction to .NET Introduction to Visual Studio Overview of the .NET Framework Setting Profiles
How .NET is Different from Traditional Creating a Project Programming Using the Code Editor Common Language Runtime (CLR) Setting Project Properties Common Language Specification (CLS) Adding References Common Type System (CTS) Compiling a Program .NET Assemblies Microsoft Intermediate Language (CIL) Running a Program
.NET Namespaces Debugging a Program .NET Framework Class Library Using the MSDN (Help)
Language Fundamentals Conditionals and Looping VB.NET Program Structure If
Defining Namespaces If/Else Understanding VB.NET's My Namespace If/ElseIf/Else
Understanding VB.NET Data Types Select Case Defining Variables and Constants Do Loop
Comparing Value Types versus Reference While Loop Types For/Next Working with Operators and Expressions For Each/Next Performing Type Conversions
Using Console I/O Formatting Numbers, Date and Times
Procedures and Parameters Exception Handling Subroutines versus Functions What are Exceptions?
Defining Shared and Instance Procedures .NET Exception Hierarchy Passing Parameters by value and by Catching Exceptions reference Throwing Exceptions Overloading Procedures Managing Resources with Finally Optional Parameters Using Variable Length Parameter Lists
Collections Object-Oriented Programming Defining and Using Arrays Overview of Object-Oriented
Understanding System.Array Programming Defining and Using Classes Using .NET Collections Extending .NET Classes via Inheritance Working with ArrayLists and Hashtables Defining and Implementing Interfaces Working with Lists and Dictionaries Understanding the Role of Interfaces Introducing LINQ in .NET
Working With Enumerations
Windows Forms Features Creating Windows Forms Applications
Overview of Windows Forms 4.0 Using the Windows Forms Designer Applications Understanding the Life-cycle of a Working with Properties and Methods Windows Form Using a .config File Handling Form Events
Using the MessageBox Class
Using Controls Handling Events
Overview of Controls Understanding the Event Driven Showing/Hiding Controls Programming Model Writing Event Handlers Setting Focus to a Control Sharing Event Handlers between Events Working with Text Controls
Working with Button Controls Working with Selection Controls
Working with List Controls Working with Image Controls
Working with the Up/Down Controls Using the ErrorProvider and ToolTipProvider Controls
ADO.NET Using XML
Understanding the ADO.NET Object Model Understanding XML and XML Schemas Connected vs. Disconnected Access Reading XML Data with a DataSet
Using a Connection to Connect to a Data Writing XML Data with a DataSet Source
Using a Command to Execute Queries and Stored Procedures
Using a DataReader to Work with Cursors Using the DataSet with Disconnected Data
Using DataAdapters with DataSets
Data Binding Working with Dialogs Understanding ADO.NET Data Binding Using the Common Dialogs
Binding to Simple and Complex Controls Comparing Modal and Modeless Dialogs Manually Binding Controls Working with DialogResults
Using the BindingSource Control Displaying Modal Dialogs Using the BindingNavigator Control Retrieving Data from Modal Dialogs
Using the DataGridView Control Displaying Modeless Dialogs Moving Data from Modeless Dialogs
Working with Menus, Toolbars and Working with Files and Directories
Status Bars Overview of the System.IO Namespace Building Menus with the MenuStrip Examining with File and Directory Control Attributes
Using the ToolStrip Control with Toolbars Working with Files and Directories Displaying Data using the StatusStrip Reading Files
Control Writing Files
Introduction to Web Services Deploying .NET Applications
Overview of Web Services Overview of .NET Deployment Options Creating a Web Service Using XCOPY
Using WSDL and Proxy Classes Using Setup Projects Consuming a Web Service Using Click-Once Deployment