This course is a practical introduction to programming in Visual Basic and the services provided by .NET. It emphasizes how to build Visual Basic applications from an object-oriented perspective, and is current to Visual Studio 2012 or 13 and .NET 4.5.1. Knowledge of the earlier version of the language, Visual Basic 6, is not required.
Visual Basic has enjoyed such widespread use because it allows Windows applications to be developed with ease. Windows Forms, used by .NET languages, represents a class library that brings uniformity to the components of a Windows application. The course includes substantial coverage of Windows Forms use in Visual Basic, including creating database applications with ADO.NET.
Audience:
This class was created for programmers who need to design and develop Visual Basic for the .NET framework.
5 Days
Students should have some programming experience.
- Gain an understanding of the .NET architecture
- Gain a working knowledge of the Visual Basic programming language
- Learn how to build object-oriented applications using Visual Basic
- Learn how to implement Windows desktop applications using Windows Forms, including programs that interact with databases
- Gain a working knowledge of auto-implemented properties, local type inference, object initializers, anonymous types, extension methods, collection initializers, LINQ and other newer features in Visual Basic
- .NET – What You Need to Know
- .NET – What Is Really Happening?
- .NET Programming in a Nutshell
- Viewing the Assembly
- Viewing Intermediate Language
- Understanding .NET
- Visual Studio
- Creating a Console Application
- Adding a C# File
- Using the Visual Studio Text Editor
- IntelliSense
- Build and Run the Project
- Pausing the Output
- Visual C# and GUI Programs
- .NET Documentation
- Fundamentals of Visual Basic Programming
- Program Structure
- Namespaces
- Project Imports
- Naming Standards
- Keywords
- Multiple
- File Program Structure
- Using Procedures
- Data Types
- EEE 754 Floating Point Standard
- Literals
- Variables
- Type Checking
- Constants
- Data
- Conversions
- Operators and Expressions
- Arithmetic Operators
- String Operators
- Operator Precedence
- Console I/O
- Placeholders
- Implicit Line Continuation
- Control Structures
- If/Then Statement
- Select Case Statement
- Looping
- Do/Loop Statement
- Exiting Do Loops Prematurely
- While Statement
- For/Next Statement
- Continue Statement
- Procedures
- Modules
- Subroutines
- ByVal Parameters
- ByRe Parameters
- Functions
- Access, Modules and Scope
- Static Variables
- Overloading
- Optional Parameters
- Variable Length Parameter Lists
- Advanced Data Types
- Arrays
- Using UBound
- Multidimensional Arrays
- Arrays are a Reference Type
- Jagged Arrays
- Dynamic Arrays
- Array
- Enumerations
- Structures
- With Statement
- Structure Assignment
- Pass-by-Value versus Pass-by-Reference
- Value Types versus Reference Types
- Exception Handling
- Visual Basic Exception Handling
- System Exception
- Handling Multiple Exceptions
- Types of Exceptions
- Context and Stack Unwinding
- Fahrenheit/Celsius
- Inner Exceptions
- Custom Exceptions
- Object-Oriented Programming
- Object-Oriented Concepts
- Defining Classes
- Methods and Properties
- Auto-Implemented Properties
- Shared Data and Methods
- Constructors
- Inheritance
- Inheritance
- Controlling Base Class Construction
- Access Control
- Polymorphism
- Events
- Abstract and Not Inheritable Classes
- Type Conversion in Inheritance
- Interfaces and Collections
- Components and OO in Visual Basic
- Interfaces
- Implementing Interface
- TypeOf …Is and Dynamic Interfaces
- Interfaces in Visual Basic and COM
- .NET Interfaces
- Arrays of User-Defined Objects
- Implementing IComparable
- Collections
- ArrayList
- IEnumerable and IEnumerator
- Collections of User-Defined Objects
- ICollection
- Default Properties
- Writing Generic Code
- Collections.Generic
- Introduction to Windows Forms
- Creating Windows Applications Using Visual Studio 2012
- Aligning Controls
- Setting the Tab Order
- Partial Classes
- Windows Forms Event Handling
- Events Documentation
- ListBox Control
- My Command Line Arguments
- Windows Forms Controls
- Common Properties
- Event Handling
- Using a Label
- Using Mnemonics
- Radio Buttons and Group Boxes
- Check Boxes
- Using the ToolTip Control
- List Boxes and Combo Boxes
- Flexible Event Handling
- Timer Control
- User Interface Features
- Dialog Boxes
- Custom Dialogs
- Using DialogResult
- Tab Order and Focus
- Modeless Dialogs
- Managing the Relationship Between Forms
- Preventing Multiple Instances
- Common Dialogs
- Menus
- Calculator Starter Code
- Changing Menu Item Appearance
- Context Menus
- Handling Multiple Events
- Database Programming
- NET
- Programming with ADO.NET
- .NET Data Providers
- Connecting to an OLE DB Data Provider
- Importing a Namespace
- Using Commands
- Using Data Readers
- Using Data Sets
- Disconnected Data Sets
- Data Adapters
- Data-Bound Controls
- Performing a Query
- Newer Features in Visual Basic
- Local Type Inference
- Object Initializers
- Array Initializers
- Anonymous Types
- Partial Methods
- Extension Methods
- Collection Initializers
- Variance in Generic Interfaces
- Language Integrated Query (LINQ)
- Iterators
- Asynchronous Programming Keywords
- Appendix A – Using Visual Studio
- Overview of Visual Studio
- Creating a Console Application
- Project Configurations
- Debugging
- Multiple-Project Solutions
- Appendix B – Learning Resources