Visual Basic .NET - Contents Page

This Home and Learn computer course is an introduction to Visual Basic .NET programming for beginners. This course assumes that you have no programming experience whatsoever. It's a lot easier than you think, and can be a very rewarding hobby!

You don't need to buy any software for this course! You can use the new FREE Visual Basic Express Edition from Microsoft. To see which version you need, click below:

Getting the free Visual Studio Express - Which version do I need?

VB .NET One - Getting Started  

1. Getting started with VB.NET

2. Visual Basic .NET Forms

3. Add Controls using the Toolbox

4. Adding a Textbox to the Form

5. Visual Basic .NET and Properties

6. The Text Property

7. Adding a splash of colour

8. Saving your work

9. Create a New Project

  VB .NET Two - Write your first .NET code  

1. What is a Variable?

2. Add a coding button to the Form

3. Writing your first .NET code

4. String Variables

5. How to get at Text in a textbox

6. More about VB .NET variables

7. Using variables in your .NET code

8. A VB NET Calculator Project

9. The code for the calculator

10. The Message Box in VB .NET

  VB .NET Three - Conditional Logic  

1. If Statements

2. Select Case Statements

3. Add a Combo Box to a VB .NET form

4. The Conditional Operators

5. Section Three Exercises

  VB .NET Four- Loops  

1. An Introduction to Loops in VB .NET

2. For Loops

3. Do Loops

4. A Times Table Programme

5. The Code for the Time Table Programme

6. The Basic Math Symbols in VB .NET

  VB .NET Five - Adding menus to Forms  

1. Add a menu to a VB .NET Form

2. How to add code to a Menu

3. How to add a Sub Menu to your Form

4. How to add Shortcuts to your Menu Items

5. A VB .NET menu Project

6. The Open File Dialogue Box

7. Filter files with the Open File Dialogue Box

8. The Open File Dialogue Box

9. The Save File Dialogue Box

10. Cut, Copy, Paste and Undo menus

11. How to Show and Hide Controls

12. Insert Images into a Picture Box

13. Add a Checkbox to a VB .NET form

14. Writing code for Checkboxes

15. Add Option Buttons to a VB .NET form

  VB .NET Six - Debugging your code  

1. Error Handling and Debugging in VB .NET

2. Design Time Errors

3. RunTime Errors

4. Try ... Catch in VB .NET

5. Logic Errors

6.Breakpoints and Debugging tools

  VB .NET Seven - Mastering Arrays  

1. What is an Array?

2. Arrays and the Index Number

3. Assigning Values to an Array

4. Arrays where boundaries are not known

  VB .NET Eight - String Manipulation  

1. The String Variable Type

2. How to use the Trim Method

3. The difference between Char and Chars()

4. How to use the InStr Method

5. How to use the Substring Method

6. Equals, Replace and Insert Methods

7. How to use Split and Join in VB .NET

  VB .NET Nine - Working with Text Files  

1. What is a Text File?

2. How to Open a Text File in VB .NET

3. How to Read a Text File Line by Line

4. How to Write to a Text File in VB .NET

5. Appending Text to a File in VB .NET

6. How to Copy a File

7. How to Move a File

8. How to Delete a File

  VB .NET Ten - Functions and Subs  

1. An Introduction to Functions and Subs

2. How to Create your own Subs in VB .NET

3. Using Parameters in your Subs

4. ByVal and ByRef in VB .NET

5. How to Create a Function in VB.NET

6. How to use Parameters with Functions

7. Standard Modules - Part One

8. Standard Modules - Part Two

  VB .NET Eleven - Events  

1. The Click Event

2. The MouseDown Event

3. The KeyDown Event

4. The Form Load Event

VB .NET Tweleve - Classes and Objects  

1. An Introduction to Classes and Objects

2. Create your own Classes in VB .NET

3. How to Create Methods in your Classes

4. More about Creating Methods

5. Create Properties in your Classes

6. How to Use your New Property

VB .NET Thirteen - VB .NET and Databases  

1. VB NET Express and Databases

2. The Database Wizard in VB NET Express

3. Write your own VB .NET database code

4. Learn about DataSets and Data Adaptors

5. Display the Data in the DataSet

6. Navigate a Database with VB .NET

7. How to Move through the Database

8. Add, Update and Delete Records

9. Add a New Record using VB .NET

10. Delete a Record using VB .NET

VB .NET Fourteen - VB NET and Forms  

1. Anchor and Dock Controls on a Form

2. Add a Toolbar to a Form

3. Creating Multiple Forms in VB .NET

4. Modal and Non Modal Forms

5. Getting at Values on Other Forms