Visual Basic 2012 Tutorial Available Soon

Visual Basic 2012 has been made available by Microsoft since last year. However, it is no more a stand alone program, instead, it has been integrated into Visual Studio 2012 together with Visual C++ and Visual C#. Therefore, you can now create windows applications using either Visual Basic, Visual C# or Visual C++. Since we are dealing with Visual Basic, we shall focus only on Visual Basic 2012.

You can download free version of Visual Studio 2012 from Microsoft website:

http://www.microsoft.com/visualstudio/eng/downloads#d-2012-express

There are five editions of Visual Studio Express 2012 available for download:

  • Visual Studio Express 2012 for Web
  • Visual Studio Express 2012 for Windows 8
  • Visual Studio Express 2012 for Windows Desktop
  • Visual Studio Express 2012 for Windows Phone
  • Visual Studio Team Foundation Server Express 2012

Since most of you are still using the old version of windows, we shall download Visual Studio Express 2012 for Windows Desktop.

We are in the process of writing the tutorial  lessons for Visual Basic 2012 which is expected to take one month to complete. Please check back  often for the tutorial updates.

Errors Handling in Visual Basic

Error handling is an essential procedure  in Visual Basic programming because it can help make the program error-free. An error-free program can run smoothly and efficiently, and the user does not have to face all sorts of problems such as program crash or system hang.

Errors often occur due to incorrect input from the user. For example, the user might make the mistake of attempting to ask the computer to divide a number by zero which will definitely causes system error. Another example is the user might enter a text (string) to a box that is designed to handle only numeric values such as the weight of a person, the computer will not be able to perform arithmetic calculation for text therefore will create an error. These errors are known as synchronous errors.

Therefore a good programmer should be more alert to the parts of program that could trigger errors and should write errors handling code to help the user in managing the errors. Writing errors handling code should be considered a good practice for Visual Basic programmers, so do not try to finish a program fast by omitting the errors handling code. However, there should not be too many errors handling code in the program as it create problems for the programmer to maintain and troubleshoot the program later.