Course description
Visual Basic - Introduction | In-House
SquareOne Training's Visual Basic Inroduction course will teach you how to use Visual Studio to explore the Visual Basic language and its powerful features for building applications on the .NET platform. The course begins with an overview of the .NET framework, covering key concepts like assemblies, Microsoft Intermediate Language (MSIL), Visual Studio profiles, XML comments, IntelliSense, and debugging. From there, you’ll dive into the core elements of Visual Basic, including data types, variables, operators, and flow control structures, which are essential for building both Web and Windows applications.
Through practical examples, you’ll discover the power of the .NET Framework and gain hands-on experience creating and using your classes and objects. The course also covers working with data structures, arrays, collection classes, generics, exception handling, and delegates and events. By the end of the course, you’ll have a solid understanding of Visual Basic and the .NET platform, giving you the skills to start developing robust, feature-rich applications
Upcoming start dates
Suitability - Who should attend?
This in-house training in Visual Basic is designed for experienced IT professionals who want to improve their knowledge of VB language and Visual Studio applications.
Training Course Content
This Visual Basic in-house training course is designed to cover the following contents:
Getting Started with .NET
- Thinking about .NET
- What is .NET?
- Why .NET?
- Advantages of .NET
- .NET Architecture
- Examining a .NET Application: Introducing Assemblies
- What Kinds of Programs Can You Create?
- Using the Command-Line Compiler to Build a Console Application
- Revisiting Microsoft Intermediate Language
- Using Visual Studio 2008
- Working with Your Visual Studio Profile Settings
- Revisiting the .NET Console Application
- Debugging and Handling Exceptions
- Handling Errors
- Fixing the Logic Error
Data Types and Variables
- Introducing Variables and Data Types
- Variables
- Data Types
- Integer Data Types
- Floating-Point Data Types
- Decimal Data Type
- Char Data Type
- String Data Type
- Boolean Data Type
- Date Data Type
- Object Data Type
- Constants, Enumerations, and Structures
- Working with Variables and Data Types
- Converting from One Data Type to Another
- Operators
Using the .NET Framework
- Using .NET Framework Classes
- Generating Random Numbers
- Getting Information about the Computer
- Working with XML
- File Input/Output
- Working with Strings
- Fields and Properties of the String Class
- Methods of the String Class
- Formatting Strings
- Using the StringBuilder Class
- Working with Dates and Times
- Properties of the DateTime Structure
- Methods of the DateTime Structure
- Using the TimeSpan Structure
- The My Namespace
- My.Application
- My.Computer
- My.User
Branching and Flow Control
- Branching in Code
- Conditional Branching
- Repeating Code Blocks
- Unbounded Looping
- Looping for a Specific Number of Times
- The For Each Loop
- Unconditional Branching
- Exit For/Exit While/Exit Do
- The Goto Statement
- The Continue Statement
- Classes and Objects
- Introducing Objects and Classes
- Revisiting .NET Framework Classes
- Using Class Properties
- Calling Class Methods
- Creating Your Own Classes
- Creating Your First Class
- Adding XML Comments
- Using the Class View Window
- Using the Class Designer
- Investigating the Code
- Adding the Code
- Add another Method and Test the Class
- Working with the Object Test Bench
- Working with Classes
- Value Types vs. Reference Types
- Setting Reference Variables to Nothing and Disposing
- Providing for Deterministic Finalization
- Overriding Object Class Functionality
- Manipulating Object References
- Instance vs. Shared Members
- Thinking More about Shared Members
Properties and Methods
- Overview of Properties and Methods
- Properties
- Calculating Values for Properties
- Validating Values in Properties
- Passing Arguments to Properties
- Methods
- Passing Arguments to Methods
- Methods in Classes
- Class Constructors
- Saving and Retrieving Information
- Returning and Passing Arrays
- Optional Parameters
- Named Parameters
- Instance and Static Members
Object-Oriented Techniques
- Inheritance
- Derived Classes
- Abstract Classes and Members
- Sealed Classes and Members
- Interfaces
- Implementing an Interface
- Interfaces in the .NET Framework
- Organizing Classes
- Partial Classes
- Nested Classes
- Namespaces
Working with Arrays
- Introducing Arrays
- Creating and Filling Arrays
- Initializing Arrays
- Retrieving Data from Arrays
- Arrays and Method Parameters
- Arrays in the .NET Framework
- Manipulating Arrays
- Sorting Arrays
- Allowing for More Flexible Sorting
- Searching in Arrays
Delegates and Events
- Motivating Delegates
- Testing the FileSearch0Class
- FileSearch1: Modifying the FileSearch0 Class
- FileSearch1a: Inheritance is a Possible Solution
- Using an Event Interface Class
- Introducing Delegates
- Digging Deeper into Delegates
- Delegate vs. MulticastDelegate
- Working with Events
- Doing Things the VB6 Way
- Multiple Event Handlers
- Exceptions and Multiple Event Handlers
- Manually Invoking Each Listener
- Using the .NET Event Design Pattern
- Adding and Removing Handlers Dynamically
Generics
- Introducing Generics
- Generic Methods
- Generic Classes
- Advantages of Generics
- Generics and Arrays
- Sorting Arrays
- Sorting with the IComparer Interface
- Sorting with Generic Comparisons
- Searching with Generic Predicates
- Generic Interfaces
- Generic Constraints
- Generics and Lists
- Using an ArrayList to Store a Collection of Items
- Using a Generic List to Store a Collection of Items
- Sorting with the List Class
Handling Exceptions
- Perspectives on Exception Handling
- Exception Handling in .NET
- The Demonstration Code
- Getting Started with Exception handling
- No Error Handling
- Adding a Simple Try/Catch Block
- Unhandled Exceptions
- Using an Exception Object
- Catching Specific Exceptions
- Understanding the Exception Hierarchy
- Raising Errors
- Using the Throw Keyword
- Exception-Handling Options
- Passing Error Information
- Running Code Unconditionally
- The Finally Block
- Cleaning Up: The Using Statement
- Crating Exception Classes
Collection Classes
- Generics, Collections, and Interfaces
- Introducing the Generic Collection Interfaces
- The Generic List
- Working with the List Class
- Working with Predicates
- Working with Dictionaries, Stacks, and Queues
- Storing Key/Value Pairs Using a Dictionary
- Using the SortedDictionary and SortedList Classes
- Using Queues and Stacks
- Creating Your Own Generic Collection Classes
- Creating the Custom Collection Class
- Consuming the Custom Collection
Why choose SquareOne Training
25 years' experience of delivering quality IT Training Services
All trainers Certified Microsoft Office Trainer (MOS) or higher
Public and in-house training throughout the UK
Expenses
In-house training - a cost effective solution for your team
This course is delivered in-house, and can be tailored to meet the particular requirements of your organisation. We will be happy to use any of your examples for delegates to ensure that the course is as interesting and relevant as possible.
Request info
Welcome to SquareOne Training – Where Your Learning Journey Takes Centre Stage! For over 30 transformative years, SquareOne Training has been the beacon of excellence in IT and personal skills training. We started our journey when computers were just making...
Case Studies
SquareOne Deliver IT Rollout Projects to a World Leading Gas and Oil Company
Read about SquareOne's global projects in New Hardware and Software Refresh and Microsoft Lync/Skype Rollout.
Excel Templates For Mexichem
At SquareOne Training we take pride in designing Spreadsheets for our customers, so we were delighted to be asked to design a solution to track staff courses and KPI alerts. This spreadsheet was implemented in 2018, but completely changed the way the company worked and made the data not only accurate but trackable.