A third-generation event-driven programming language first released by Microsoft in 1991
Visual Basic
Allows anyone to develop GUI (Graphical User Interface) Windows desktop applications
Visual Basic 6 (VB6)
The final version of the classic Visual Basic
Visual Basic.NET
Released by Microsoft in 2002
Versions of VB.NET
Visual Basic 2005
Visual Basic 2008
Visual Basic 2010
Visual Basic 2012
Visual Basic 2013
Visual Basic 2015
Visual Basic 2017
Visual Basic 2019
Visual Basic 2022
Visual Studio 2022
Released in early 2022, allows you to code in different programming languages & different Platforms, among them is Visual Basic 2022
Programming languages in Visual Studio 2022
C#
C++
F#
JavaScript
Java
Python
Visual Basic 2022
Primarily used for software development, based on the programming language BASIC
Three-step process
1. Creatingtheinterface
2. Settingtheproperties
3. WritingtheCode
Visual Basic Screen Elements
Title Bar
Menu Bar
ToolBar
Tool Box
Data Sources
Form Window
ProjectContainerWindow
SolutionExplorerWindow
PropertiesWindow
Description Pane
Text Box
Used to accept textual input from the individual, can include strings, numerical values, and a mix of those, but not images and other multimedia material
Label
Used to display any message to the user, the text in a label does not change while the application is running
Button
Used as a typical Windows Button, most often used to generate a click event, its name, size and appearance are not altered at runtime
PictureBox
Used to display images in the design
VAL
Stands for VALUE, function that converts the string containing numbers to an actual number
Basic principles in designing a GUI
The application should always be under the user's control
The user should be able to customize the application to meet his/her preferences
The interface should be designed to provide direct ways to accomplish tasks
Use concepts and metaphors that users are familiar with to make the interface parallel real-world experience
Applications should follow basic graphics design principles and should be consistent visually and functionally
The user always should receive immediate feedback after initiating an event
The application should attempt to prevent users from making mistakes as much as possible
Visualbasic consists of morethan1 window
A project always begins with a form
Point to a control and double click it to open the codewindow or that control
Controls
The visual elements common to Windows applications (such as check boxes, option button, list boxes etc.)
Procedures
Operations or services
TitleBar - The horizontal bar located at the very top of the screen which gives the name of the application.
MenuBar - Built-in menus appear on the menu bar across the top of the Visual Basic window. Each menu contains commands that relate to the menu name.
Tool Bar - The toolbar provides access to commonly used commands via icon buttons; these commands are a subset of the commands accessible from the menu bar.
ToolBox - Located at the left of the screen which contains the controls you use to build the interface of your application.
Data Sources - . NET objects that connect to a data store and make the data available to a . NET application.
Description Pane - provides the user with additional information or quick access to features commonly used in a program.
Properties Window - Located at the right of the screen which is used to change the attributes of the controls of your application.
Solution Explorer Window - Located at the far right of the screen which contains a Window Explorer-like tree view of all the forms and general code that make up your application.
ProjectContainerWindow - Occupies most of the screen and is where you design the interface of your application.
Form Window - Visual Basic Form is the container for all the controls that make up the user interface.