Windows Applications Programming for Experienced Visual Basic.NET Programmers
Price: Contact SST for pricing | Duration: 3 Days
Prerequisites: Knowledge of Visual Basic.NET is required. Knowledge of object-oriented programming concepts is helpful but not required. Knowledge of Visual Basic 6.0 is helpful but not required.
Description: This course provides students with hands on experience using Visual Studio.NET to create Windows applications with the .NET Framework. It assumes students are familiar with the essentials of the VB.NET programming language, including built in data types, operators control structures, classes and methods. Students will learn how to leverage the power of the .NET Framework and Windows Forms to build sophisticated graphical user interfaces. Students will also learn how to use ADO.NET to interact with data sources and use the powerful data binding features of .NET. Other topics include: event handling and validation of user input; error handling and debugging; the use of a .config file to control application configuration; developing and consuming web services; file I/O; using XML data with DataSets; and deployment procedures. Comprehensive hands-on lab exercises using Visual Studio.NET reinforce knowledge and build direct competence in the topics presented during the course.
This course provides thorough coverage of the use of Windows forms for the development of GUI based applications. Students requiring extensive coverage of Web forms should register for the ASP.NET 2.0 Programming for Experienced Visual Basic.NET Programmers course instead.
Windows Forms Programming in Visual Studio.NET
- What are Windows Forms
- Overview of Controls
- The .NET Control Hierarchy
- Label and TextBox Controls
- Button Controls
- Using the Windows Forms Designer
- The Life-cycle of a Form
Using Controls
- Enabling/Disabling Controls
- Showing/Hiding Controls
- Setting Focus to a Control
- Making Choices Using the CheckBox and RadioButton Controls
- Managing Lists Using the ListBox, ComboBox, ListView and TreeView Controls
- Providing Assistance with the ToolTip Control
- Using the Up/Down Controls
- Building Menus, Toolbars and Statusbars in .NET 2.0
- New Controls in .NET 2.0
ADO.NET
- The ADO.NET Object Model
- Client-Side vs. Server-Side Cursors
- Connected vs. Disconnected Access
- Using Connection Classes to Connect to a Data Source
- Using Command Classes to Execute Queries and Stored Procedures
- Insert, Update and Delete with ADO.NET
- Using DataReader Classes to Work with Cursors
- Using the DataSet Class with Disconnected Data
- Using DataAdapter Classes with DataSets
MDI Applications
- Introduction to MDI Applications
- Building the Parent Form
- Building the Child Form
- Spawning Child Forms
Introduction to Web Services
- Web Services Architecture
- Web Service Programming Model
- Understanding SOAP Messages
- Creating Web Services using VB.NET
- Protocols for Accessing Web Services
- Consuming a Web Service
- Using WSDL and Proxy Classes
Handling Events
- Event Driven Programming Model
- Common Event Categories
- Writing Event Handlers
- Sharing Event Handlers between Events
Working with Dialogs
- Using the MessageBox Class
- Using the Standard Dialogs
- Creating and Using Windows Dialogs
- Modal versus Modeless Dialogs
- Working with Modal Dialogs
- Using DialogResult
- Setting the Default and Cancel Buttons
- Using the ErrorProvider Control
- Working with Modeless Dialogs
Data Binding
- Introduction to Data Binding
- Binding Controls using .NET 2.0
Using XML
- Introduction to XML and XML Schemas
- Reading XML Data with a DataSet
- Writing XML Data with a DataSet
- Working with Xml Documents
- Working with Configuration Files
Reading and Writing Files
- System.IO Namespace
- Examining Files and Directories
- Opening Files
- Reading Files
- Writing Files
Deploying Applications
- Issues with Deployment
- Using XCOPY Deployment
- Using Visual Studio Deployment Projects
- Using VS 2005 Publish Option