The different Wise Owl courses for Visual Basic explained

We've been training on Visual Basic and its predecessors for many years now (and secretly prefer it to C#, although we also recognise we might be fighting a losing battle).  Here are some details about our VB courses.; you can see more at our main VB training courses page.

Pure Visual Basic programming

Our two-day Introduction to Visual Basic course will show how you to write code like this:

Public Shared Function RandomNumber(ByRef r As Random, ByVal MinNumber As Integer, ByVal MaxNumber As Integer) As Integer

'initialize random number generator

'if numbers the wrong way round, swap them

If MinNumber > MaxNumber Then

Dim i As Integer = MinNumber

MinNumber = MaxNumber

MaxNumber = i

End If

'get the next random number

Dim ThisNumber As Integer = r.Next(MinNumber, MaxNumber + 1)

If ThisNumber = MaxNumber + 1 Then

Return MaxNumber


Return ThisNumber

End If

End Function

This sample code was taken from our internal system Wombat, which governs pretty much every aspect of our life at the owlery, and is written entirely in Visual Basic.

WPF using Visual Basic

Windows Presentation Foundation is Microsoft's new way to create form-based applications - it's also seriously good fun.  Our 3-day WPF using VB course doesn't involve a huge amount of coding, so here's a picture of a polygon instead:

WPF polygon transformation

One of the more fun things you'll learn to do on the WPF course!

Windows Forms using Visual Basic

Our 3-day WinForms course (using VB) will show you how to create a Windows Forms system (similar to the old VB6).  Here's a small sample of code behind a simple dating agency application form, included on the course:

Private Sub btnApply_Click(ByVal sender As System.Object, _

ByVal e As System.EventArgs) Handles btnApply.Click


'show the choices the user has made

MessageBox.Show( _

"NAME: " & Me.txtName.Text & vbCrLf & _

"DOB: " & _

Me.dtpDateOfBirth.Value.ToString("dd/MM/yyyy") & _ vbCrLf & _

"LIKES: " & Me.cmbPreferences.SelectedItem.ToString, _

"Summary of your application")


End Sub

On this course you'll learn to create and code forms and menus in WinForms.

For much more about our Visual Basic training, see the VB part of this website.

This page has 0 threads Add post