Visual Basic

**Visual Basic** (VB) is a programming language developed by Microsoft for their operating system Windows. The BASIC language is said to be easier to read than other languages. 

*Visual Basic* is a widely understood high-level programming language, written using simple English-like words and syntax. It is an interpreted language, code can be run immediately after being written.

Having an interpreter makes it simpler to use, as there is no need for the computer to compile the code, possibly finding errors to fix, before the compiled version can be run. Once the code is working, it can be compiled into an .exe file so that it will run on all modern Windows computers, whether VB is installed or not. The language allows a beginning programmer to produce professional-looking Windows applications, as it includes drawing tools to create normal Windows forms. VB also includes advanced features - concepts and structures which allow programs to be adapted for use with the Internet. *Visual Basic* will not run on operating systems other than Windows and on machines with non-Intel compatible processors.

Though the program has received criticism for its faults, Visual Basic was a runaway commercial success since its release for version 3 in the summer of 1993. Many companies offered third party controls greatly extending its functionality. 

## Examples 
```vb
Dim MyInput
MyInput = InputBox("How old are you?")
If Not IsNumeric(MyInput) Then
   MsgBox "That's not a number!"
ElseIf MyInput  100 Then
   MsgBox "That's old!"
Else
   MsgBox "You're " & MyInput & " years old."
End If
```

```vb
Private Sub Form_Load()
   MsgBox "Hello, World"
End Sub
```

## History
VB 1.0 was introduced in 1991. The drag and drop design for creating the user interface is derived from a prototype form generator developed by Alan Cooper and his company called *Tripod*. Microsoft contracted with Cooper and his associates to develop Tripod into a programmable form system for Windows 3.0, under the code name *Ruby* (no relation to the Ruby programming language). Tripod did not include a programming language at all. Microsoft decided to combine Ruby with the Basic language to create Visual Basic. The Ruby interface generator provided the "visual" part of Visual Basic and this was combined with the "EB" Embedded BASIC engine designed for Microsoft's abandoned "Omega" database system. Ruby also provided the ability to load dynamic link libraries containing additional controls (then called "gizmos"), which later became the Visual Basic Extension (VBX) interface. Versions of Visual Basic are listed below:

## Visual Basic .NET 
Visual Basic .NET is the next series of products in Microsoft's successful *Visual Basic* range of products. It makes creating programs easier because it is possible to drag-and-drop controls into the program. It runs on the .NET Framework and features another long line of programs (see Visual Basic .NET#Editions).

## Visual Basic for Applications 
This is a scripting language used in Microsoft Office and a few other programs.  It is based on Visual Basic 6.0, and can change data in an office application, write it to a file, and do other actions.

## Support
All versions of the Visual Basic development environment from 1.0 to 6.0 have been retired and are now unsupported by Microsoft.  The associated runtime environments are unsupported too. This is except for the Visual Basic 6 core runtime environment, which will be officially supported by Microsoft until support of Windows 10 and Windows Server 2012 ends.  Third party components that shipped with Visual Studio 6.0 are not included in this support statement.  Some legacy Visual Basic components may still work on newer platforms. This is despite being unsupported by Microsoft and other vendors. 

Development and maintenance development for Visual Basic 6 is possible on Windows XP, Windows Vista and Windows 2003 using Visual Studio 6.0 platforms, but is unsupported.  Documentation for Visual Basic 6.0, its application programming interface and tools is best covered in the last MSDN release before Visual Studio.NET 2002.  Later releases of MSDN focused on .NET development and had significant parts of the Visual Basic 6.0 programming documentation removed. The Visual Basic IDE can be installed and used on Windows Vista, where it exhibits some minor incompatibilities which do not hinder normal software development and maintenance.  As of August 2008, both Visual Studio 6.0 and the MSDN documentation are available for download by MSDN subscribers.
## References
## Other websites 
* VB 6.0 at MSDN
* 
* Locxtronic.com - Learn Visual Basic  
* VB.NET History and Tutorials