Download as pdf or txt
Download as pdf or txt
You are on page 1of 19

See discussions, stats, and author profiles for this publication at: https://www.researchgate.

net/publication/351196226

Introduction to Visual Basic

Presentation · April 2011


DOI: 10.13140/RG.2.2.12415.53924

CITATION READS

1 4,845

3 authors, including:

Ali Al Sbou Ali M. H. Ghonmein


Al-Hussein Bin Talal University Al-Hussein Bin Talal University
12 PUBLICATIONS   3 CITATIONS    17 PUBLICATIONS   18 CITATIONS   

SEE PROFILE SEE PROFILE

Some of the authors of this publication are also working on these related projects:

University Students’ Perceptions of the Use of Digital Technologies in their Formal Learning: A Developing Country Perspective View project

Programming Languages View project

All content following this page was uploaded by Ali M. Al-Ghonmein on 30 April 2021.

The user has requested enhancement of the downloaded file.


Visual Basic

Introduction to Visual Basic


What is a Computer?

 Computer : Information processing machine


Computer perform three main operation

Input Processing Output


Data, Information
 Data: raw facts
 Information: data that are processed to be useful

Types of Data
What is a Computer System?

 Hardware : the physical components of your


computer such as the system unit, mouse,
keyboard, monitor etc.
 Software : a set of instructions that tells the
computer what to do and how to do it such as
computer games and graphics programs .
 User : a person who uses the software on the
computer to do some tasks.
Types Of Software
Application Software : It is a set of programs that allows
the computer to perform a specific data processing job
for the user.
System Software : It is the software which used to operates
the computer system.

The Role of Application and Systems Software


Examples of software applications

 Word processing (such as Microsoft Word)


 Spreadsheets (such as Microsoft Excel)
 Databases (such as Microsoft Access)
 Presentations (such as Microsoft PowerPoint)
 Web browsing (such as Mozilla Firefox )
 Photo editing (such as Photoshop )
 Computer games
Types of systems software

 Operating systems

 Programming Languages

 Compilers and Interpreters


Current Operating Systems

Popular Operating Systems Cross All Three Spheres of Influence


Programming Languages

 Sets of keywords, symbols, and a system of rules


for constructing statements by which humans can
communicate instructions to be executed by a
computer
 Different languages have different characteristics
 Syntax: a set of rules associated with a
programming language
The Evolution of Programming Languages

The Evolution of Programming Languages


High Level Language
 Computer (programming) languages that are easier to
learn.
 Use statements that the human can understand
 Uses English like statements.
 Examples are C++, Basic, QBasic, QuickBasic, Visual Basic,
and Java

12
Translating from High-level Language to Binary

Interpreter
 each statement translated as it is executed-slow
but easy to use
 Translate one instruction at a time.

Compiler
 entire program is converted to binary-executes
faster, but more difficult to use (.exe files are
compiled programs)
 Translate a Whole Program.

VB is interpreted during creation and testing


but can then be compiled into an .exe file
How a Compiler Works
Introduction to Visual Basic
 A language used to create windows applications.

 Programs are developed with a Graphical User Interface (GUI ).

 The instructions executed in the program are controlled by events


“Visual Basic is event-driven programming”.

 BASIC stands for Beginner’s All-purpose Symbolic Instruction Code.

 BASIC was developed by John Kemeny and Thomas Kurtz in mid-


1960s.

 Visual Basic was released in 1991 by the Microsoft Corporation.


Visual Basic 6.0 versus Other Versions of Visual Basic

 The original Visual Basic for DOS and Visual Basic For Windows were
introduced in 1991.

 Visual Basic 3.0 (a vast improvement over previous versions) was


released in 1993.

 Visual Basic 4.0 released in late 1995 (added 32 bit application


support).

 Visual Basic 5.0 released in late 1996. New environment, supported


creation of ActiveX controls, deleted 16 bit application support.

 And, now Visual Basic 6.0


some identified new features of Visual Basic 6.0

 Faster compiler
 New ActiveX data control object
 Allows database integration with wide variety of
applications
 New data report designer
 New Package & Deployment Wizard
 Additional internet capabilities
What can Visual Basic be used for?
 To write computer games, phone books ,encryption
utilities, calculators , GUIs and much more
database handling internet

 Visual Basic is event- driven, meaning code remains idle


until called upon to respond to some event (button
pressing, menu selection, key press, mouse move,...).
Visual Basic is governed by an event processor. Nothing
happens until an event is detected.

18
View publication stats

You might also like