Visual Basic training - find your level and course
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.
ASP.NET webforms using VB
This three-day course on learning to create ASP.NET webforms using Visual Basic shows how to create websites in Visual Studio using VB as your coding language. Here's a typical excerpt that you'll learn to write, responding to a gridview event:
Protected Sub gvFilms_RowDataBound(ByVal sender As Object, _
ByVal e As System.Web.UI.WebControls.GridViewRowEventArgs) _
'build the gridview row by row
'(but if it's a header or footer row, ignore)
If e.Row.RowType <> DataControlRowType.DataRow Then Exit Sub
'find how many Oscars the film won
'(but note that some films don't have a value for this field)
Dim Oscars As Integer = Nothing
Oscars = Convert.ToInt16(e.Row.Cells(gvColumn.Oscars).Text)
Oscars = 0
'if this is more than 0, colour the row (can't use BackColor property, as style will overwrite)
If Oscars > 0 Then e.Row.CssClass = "gvOscarWinners"
We also train in ASP.NET MVC, but only using C# as a programming language - sorry!
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:
One of the more fun things you'll learn to do on the WPF course!
Windows Forms using Visual Basic
Finally, 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
"NAME: " & Me.txtName.Text & vbCrLf & _
"DOB: " & _
Me.dtpDateOfBirth.Value.ToString("dd/MM/yyyy") & _ vbCrLf & _
"LIKES: " & Me.cmbPreferences.SelectedItem.ToString, _
"Summary of your application")
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.