Tutorials

Welcome to the Tutorials section where you can find Visual Basic tutorials

Categories

Visual Basic 2008 Express Edition
Visual Basic 2005 Express Edition
Visual Basic.NET
Visual Basic 6
Tutorial Help
Tutorial Usage

Visual Basic 2008 Express Edition

Visual Basic 2008 Express Edition Visual Basic 2008 Express Edition is ideal for first time or casual Windows programming supporting WFP and XAML as well as normal Windows applications. If you don't have it yet then download it using the link below. Plus all the Visual Basic 2005 Express Edition Tutorials will work with Visual Basic 2008 Express Edition!

Download


Hello World
Beginner

Classic "Hello World" Example using XAML (Windows Presentation Foundation)
Task Tray
Intermediate

Learn how to place a popup menu in the Task or Notification Tray next to the clock on the task bar.

Suggested by "the Tom clone" on CESPage.com Blog
Text Editor (Part One)
Beginner

Text Editing application with New, Open and Save also Edit and Format features such as Cut, Copy and Paste plus Keyboard Shortcuts for the Menus.

Foreground / Background Colours feature suggested by yannick on CESPage.com Blog
Text Editor (Part Two)
Advanced

Adding Standard Find & Replace Dialog and Functionality to the Text Editor!

Suggested by Lee on CESPage.com Blog
Task List
Intermediate

Create an XML-based Task List application with Open, Save plus Cut, Copy, Paste, Add and Remove Items features!
Drawing Package
Intermediate

Learn how to create a Drawing Package that can Open and Save Files, with Draw Width and Colour Support!
Lucky Dice
Intermediate

Create a simple dice rolling game using WPF / XAML (Windows Presentation Foundation).
Lucky Lotto
Beginner

Choose your lottery numbers with this program, ball colours match the UK Lottery. Uses WPF / XAML (Windows Presentation Foundation).
Noughts and Crosses
Intermediate

Noughts and Crosses or Tic-Tac-Toe a simple game with Winner and Draw detection. Uses WPF / XAML (Windows Presentation Foundation).
Memory Game
Intermediate

Simple Memory Game with Random Cards, uses Arrays, ArrayLists, Buttons and Drawing with WPF / XAML (Windows Presentation Foundation).

Suggested by John on CESPage.com Blog
Playing Cards
Intermediate

Simple Playing Cards based Game uses ArrayLists, Buttons and Drawing with WPF / XAML (Windows Presentation Foundation).
Web Browser
Intermediate

Web Browser based on the WebBrowser control plus TextBoxes and URL File Support.

Suggested by yannick on CESPage.com Blog
Web Editor
Intermediate

Web Editor based on the WebBrowser and mshtml Components with Open/Save Support and more.

Based on a suggestion by sim642 on CESPage.com Blog
Rich Text Editor
Intermediate

Rich Text Editor with Printing and Formatting support plus Open/Save and more.
mPlayer
Advanced

Video and Audio Media Player

Suggested by yannick on CESPage.com Blog

Based on APIVideo by "SpaceMonkey"
Slide Show
Beginner

Photo Viewer and Slideshow Application

Suggested by yannick on CESPage.com Blog
FTP Client
Intermediate

Upload & Download Files using this FTP Client

Suggested by the Tom clone on CESPage.com Blog

Based on "An FTP client library for .NET 2.0" by Howard Richards
Alarm Clock
Intermediate

Time-based Alerts with an Analogue Clock interface

Based on "Yet Another Analog Clock" by Obaid ur Rehman

Suggested by yannick on CESPage.com Blog
About Console
Beginner

Build a Console-based Application for the Console on Windows that displays PC information

Suggested by yannick on CESPage.com Blog
Startup Shutdown
Beginner

Task-tray based application that loads on Windows Start, to allow it to be Shutdown, Restarted or just Log Off!

Suggested by yannick & SAIFI on CESPage.com Blog
On-Screen Keyboard
Intermediate

Create an On-Screen Keyboard that can type into any application!

Windows Listing and Focus based on work by Senthil Kumar

Suggested by yannick on CESPage.com Blog
Beginner

Learn how to View, Update and Add information to a Database

Suggested by muthu on CESPage.com Blog

Note: 32-bit Only
Visual Basic 2005 Express Edition

Visual Basic 2005 Express Edition Visual Basic 2005 Express Edition allows you to create applications and more, for free the tutorials available here show you how, if you don't yet have it, you can download it using the link below.

Download


Hello World
Beginner

The Classic "Hello World" Example.
Hello ....
Beginner

Continuing the "Hello World" example.
Task Tray
Intermediate

Learn how to place a popup menu in the Task or Notification Tray next to the clock on the task bar.
Drawing
Beginner

Basic drawing example
Simple Text Editor
Beginner

Learn how to create a Text Editor that can Open and Save Files!
Simple Drawing Package
Beginner

Basic line drawing application with draw width and colour support - improved version
Lucky Dice
Intermediate

Create a simple dice rolling game using Picture Boxes.
Lucky Lotto
Intermediate

Write this program and you can choose your lottery numbers with it. Ball colours match the UK Lottery ones.
Noughts and Crosses
Intermediate

Noughts and Crosses or Tic-Tac-Toe a simple game with drawing, arrays with Winner and Draw detection
Visual Basic.NET

Visual Basic.NET 2002 or 2003 Visual Basic.NET is the first environment allowing .NET applications to be created using Visual Basic, the tutorials apply to Visual Basic.NET 2002 and 2003 versions.


Hello World
Beginner

The Classic "Hello World" Example.
Hello ....
Beginner

Continuing the "Hello World" example.
Task Tray
Intermediate

Learn how to place a popup menu in the Task or Notification Tray next to the clock on the task bar.
Drawing
Beginner

Basic drawing example
Simple Text Editor
Beginner

Learn how to create a Text Editor that can Open and Save Files!
Simple Drawing Package
Beginner

Basic line drawing application with draw width and colour support - improved version
Lucky Dice
Intermediate

Create a simple dice rolling game using Picture Boxes.
Visual Basic 6

Visual Basic 6 Visual Basic 6 or Classic VB as it is also known, is the pre-.NET era Visual Basic, you can find some tutorials for this version of Visual Basic here.


Hello World
Beginner

The Classic "Hello World" Example.
Hello ....
Beginner

Continuing the "Hello World" example.
Task Tray
Intermediate

Learn how to place a popup menu in the Task or Notification Tray next to the clock on the task bar.
Drawing
Beginner

Basic line drawing application with draw width and colour support.
Simple Text Editor
Beginner

Learn how to create a Text Editor that can Open and Save Files!
Simple Drawing Package
Beginner

Basic line drawing application with draw width and colour support.
Lucky Dice
Intermediate

Create a simple dice rolling game using Picture Boxes.
Lucky Lotto
Intermediate

Write this program and you can choose your lottery numbers with it! (supports UK lottery)
Weblink ActiveX
Advanced

Create an ActiveX Control with this Tutorial!
Tutorial Help

In the Tutorials wherever Click is used, this means to move the mouse cursor or arrow over the object to be "clicked" on then use the Left Mouse button, right click is the Right Mouse button instead.

To Stop a Project, if it won't End automatically, click on the Blue Box buttom, like a Stereo's Stop Button, and Click on this button, to run a project, click the "Play" or Run Button.

When a Project File, or Source Code File has been downloaded, open it in your unzip application, and unzip it to a folder, for example in a folder under My Documents like Tutorials, this can be done using the right click option and extract (Windows 98 or later) or a third-party .ZIP compatible application - just search on the internet for one if you cannot open .ZIP files.
Using Windows Explorer or Windows Run go to the folder you "extracted" the tutorial and then open the HTML or VBP file contained within this folder, it is recommened that you keep each tutorial in its own folder such as Hello World or Tutorial1 etc.

Tutorial Usage

Many hours of work goes into creating these tutorials, which are available to view here or to download free of charge. They are free to use for any reason, however they may not be sold nor can any charge be made for them except for costs such as printing etc.
These tutorials are provided here to help everyone, if you want to post them elsewhere please link back to the tutorial or this website or give credit.

Copyright Comentsys © 1997 - 2009, All rights reserved. About | Contact | Link to Page
Valid XHTML 1.1! Valid CSS Level Double-A conformance icon, W3C-WAI Web Content Accessibility Guidelines 1.0 This website is ICRA rated