Introduction
This course focuses on how to write programs in Visual Basic (called VB by its friends, and also VB.NET). Forget about the user interface (this two-day course does), but learn instead how to use conditions, loops, error-trapping and all of the other standard VB programming techniques.
Course Contents
Basics of forms
- Creating basic forms
- Form events
Coding in VB.NET
- Writing routines
- Commenting and uncommenting
- Using code regions
Variables and constants
- Defining variables
- Scope of variables
- Constants
Enumerations*
- Creating enumerations
- Changing integer values
Testing conditions
- IF, ELSE and END IF
- Using SELECT CASE
Passing arguments
- Writing modular code
- ByRef and ByVal
- Creating functions
Using arrays
- Defining arrays
- Using arrays to split text
Working with files
- Streamreaders and streamwriters
- Defining scope with USING
- FileInfo / DirectoryInfo
Debugging
- Debugging applications
- Stepping through code
- Defining breakpoints
Error trapping
- TRY / CATCH
- The DEBUG.PRINT statement
Lists
- The wonderful VB list
- Adding and removing items
- Finding items
Creating properties
- Types of property
- Writing properties
Please note that any items marked with a * will be covered if time allows.
Course Times
Usually 9.30am - 4.30pm. Course times will be confirmed in the joining instructions once the course has been booked.