Visual Basic (classic)

From WikiMD's Food, Medicine & Wellness Encyclopedia

Visual Basic 6.0 logo.png
Form vide VB.JPG
Visual Basic function.PNG
AlanCooper.jpg
Microsoft Visual Basic for MS-DOS (Professional Edition Version1.00).png
Visual Basic
ParadigmEvent-driven, Imperative, Object-oriented
DeveloperMicrosoft
Stable release
6.0
  / June
 1, 1998; 25 years ago (1998-06-01)
Typing disciplineStatic, Strong
OSMicrosoft Windows
LicenseProprietary
Website{{#property:P856}}
Influenced by
BASIC, QuickBASIC
Influenced
Visual Basic .NET, Gambas, REALbasic


Visual Basic (VB) is a third-generation event-driven programming language and integrated development environment (IDE) from Microsoft for its Component Object Model (COM) programming model first released in 1991. Visual Basic is designed to be relatively easy to learn and use.

History[edit | edit source]

Visual Basic was derived from BASIC and enables the rapid application development (RAD) of graphical user interface (GUI) applications, access to databases using Data Access Objects, Remote Data Objects, or ActiveX Data Objects, and creation of ActiveX controls and objects. A programmer can create an application using the components provided by the Visual Basic program itself. Programs written in Visual Basic can also use the Windows API, but doing so requires external function declarations.

Features[edit | edit source]

Visual Basic features an IDE with a drag-and-drop interface for creating user interfaces. It includes a large number of GUI widgets, such as text boxes, buttons, and labels, which can be used to create applications. The language itself is designed to be easy to read and write, with a syntax that is similar to English.

Syntax[edit | edit source]

The syntax of Visual Basic is designed to be straightforward and easy to understand. For example, a simple "Hello, World!" program in Visual Basic might look like this:

Private Sub Form_Load()
 MsgBox "Hello, World!"
End Sub

Object-Oriented Programming[edit | edit source]

Visual Basic supports basic object-oriented programming concepts such as classes and objects. However, it does not support inheritance in the same way that more modern object-oriented languages do.

Versions[edit | edit source]

Visual Basic has gone through several versions since its inception. The most notable versions include:

  • Visual Basic 1.0 - Released in 1991.
  • Visual Basic 2.0 - Released in 1992.
  • Visual Basic 3.0 - Released in 1993.
  • Visual Basic 4.0 - Released in 1995.
  • Visual Basic 5.0 - Released in 1997.
  • Visual Basic 6.0 - Released in 1998.

Successor[edit | edit source]

Visual Basic was succeeded by Visual Basic .NET (VB.NET), which is part of the .NET Framework. VB.NET is a more modern, fully object-oriented language that is not backward-compatible with the classic Visual Basic.

Applications[edit | edit source]

Visual Basic has been used to develop a wide range of applications, from simple desktop applications to complex enterprise software. It has been particularly popular for developing business applications and prototyping.

See also[edit | edit source]

References[edit | edit source]

External links[edit | edit source]

Wiki.png

Navigation: Wellness - Encyclopedia - Health topics - Disease Index‏‎ - Drugs - World Directory - Gray's Anatomy - Keto diet - Recipes

Search WikiMD


Ad.Tired of being Overweight? Try W8MD's physician weight loss program.
Semaglutide (Ozempic / Wegovy and Tirzepatide (Mounjaro / Zepbound) available.
Advertise on WikiMD

WikiMD is not a substitute for professional medical advice. See full disclaimer.

Credits:Most images are courtesy of Wikimedia commons, and templates Wikipedia, licensed under CC BY SA or similar.

Contributors: Prab R. Tumpati, MD