Visual Basic 2012 Tutorial is Now Ready!

Visual Basic Express 2012 is the latest version of Visual Basic launched by Microsoft in 2012. Visual Basic Express 2012 is almost similar to Visual Basic Express 2010 and Visual Basic 2008, but it has added many new features. The most distinct difference is that Visual Basic Express 2012 no more comes as a stand alone program, it is now integrated with other Microsoft Programming languages C# and C++ in a package called Visual Studio 2012. Further, Visual Studio Express 2012 now come in five editions, they are:

  • 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

Please on the link below to follow our latest tutorial:

http://www.vbtutor.net/index.php/visual-basic-2012-tutorial/

String Manipulation in VB2012

String manipulation is an important part of programming because it help to process data that come in the form of non-numeric types such as names, addresses, gender, cities, book titles and more.

Strings can be manipulated using the & sign and the + sign, both perform the string concatenation which means combining two or more smaller strings into larger strings. For example, we can join “Visual” and “Basic” into “Visual Basic” using “Visual”&”Basic” or “Visual “+”Basic”.

To read on, please follow our newest Vb2012 lesson :

http://www.vbtutor.net/index.php/visual-basic-2012-lesson-8-string-manipulation/

Creating A Class in VB2010

In Lesson 4 of our VB2010 tutorial, we have explained the concepts of Object Oriented Programming. Now, let us show you how to create a class object that can calculate your BMI (Body Mass Index).

To create a class, start VB2010 as usual and choose Windows Applications. In the VB2010 IDE, click on Project on the menu bar and select Add Class, the Add New Item dialog will appear.

Select Add Class and the default class Class1.vb will appear as a new tab with a code window. Rename the class as MyClass.vb. Rename the form as MyFirstClass.vb.

In the MyClass.vb window, enter the follow code

Public Function BMI(ByVal height As Single, ByVal weight As Single)

BMI = Format((weight) / (height ^ 2), “0.00″)

End Function

Now you have created a class (an object) called MyClass with a method known as BMI.

Read on by click on the following link:

Updated VB2010 Lesson 4