EYAD ALSHAREEF - PowerPoint PPT Presentation

1 / 31
About This Presentation
Title:

EYAD ALSHAREEF

Description:

Introduction to Visual Basic. It is a Windows programming language ... Steps to Design a Visual Basic Application. 1. Create the interface (forms & controls) ... – PowerPoint PPT presentation

Number of Views:31
Avg rating:3.0/5.0
Slides: 32
Provided by: ameralb
Category:
Tags: alshareef | eyad | basic

less

Transcript and Presenter's Notes

Title: EYAD ALSHAREEF


1
Introduction
  • EYAD ALSHAREEF

www.just.edu.jo/eyad
2
Outline and Objective
  • Introduction to Computers
  • Understanding the window layout
  • Introduction to Visual Basic

3
What is a Computer?
  • Device
  • Computations addition, multiplication
  • Making Logical Decisions comparisons
  • Very High Speed millions faster than human
    beings

4
Computer Organization
  • Hardware Electronic Devices Circuits
  • Software Instructions or Computer Programs

5
Six logical units of computer
  • Input unit
  • Receiving section
  • Obtains information from input devices
  • Keyboard, mouse, microphone, scanner, networks,
  • Output unit
  • Shipping section
  • Takes information processed by computer
  • Places information on output devices
  • Screen, printer, networks,
  • Information used to control other devices

6
Six logical units of computer
  • Memory unit
  • Rapid access, relatively low capacity warehouse
    section
  • Retains information from input unit
  • Immediately available for processing
  • Retains processed information
  • Until placed on output devices
  • Memory, primary memory
  • Arithmetic and logic unit (ALU)
  • Manufacturing section
  • Performs arithmetic calculations and logic
    decisions

7
Six logical units of computer
  • Central processing unit (CPU)
  • Administrative section
  • Supervises and coordinates other sections of
    computer
  • Secondary storage unit
  • Long-term, high-capacity warehouse section
  • Storage
  • Inactive programs or data
  • Secondary storage devices
  • Disks
  • Longer to access than primary memory
  • Less expensive per unit than primary memory

8
Control Unit (CU)
  • Directs the order in which commands are executed.
  • Communicates with input and output devices.
  • Transfers data to and from the primary storage
    unit and various input and output devices.

9
Memory
  • Memory is a Temporary Storage

10
Types of Memory
  • Random Access Memory (RAM)
  • Read Only Memory (ROM)

11
Random Access Memory(RAM)
  • Stores program instructions and data needed for
    processing.
  • Stores intermediate and final results of
    processing.
  • It is volatile.

12
Software
  • Instructions for the hardware.
  • A collection of lines of instruction is called
  • Program

13
Types of Software
  • System Software
  • Application Software

14
System Software (Operating System)
  • Is the interface between you and hardware.
  • Is the interface between application software and
    hardware.

15
Examples of System Software
  • UNIX
  • MS-DOS
  • Windows 98 / NT

16
Examples of Application Software
  • Word Processing
  • Spreadsheet
  • Accounting
  • Programming Languages Visual Basic, C, Pascal

17
Window Layout
  • Reviewing Notepad to learn more about windows
    layout
  • Notepad is an item in the Accessories menu

18
Notepad Window
Title bar
Menu bar
Vertical scroll bar
Work area
Horizontal scroll bar
Scroll box
Scroll arrow
19
Notepad Window
  • Title bar

Maximize button
Close button
Minimize button
Title Text
Control-menu box
20
Notepad Window
  • A menu and its options

21
Notepad Window
  • Save As Dialog Box

22
Notepad Window
  • Message Box

23
History of Visual Basic
  • Uses the BASIC language
  • VB was developed by the Microsoft Corporation
  • Version 1.0 released in May of 1991
  • Version 2.0 was released in October of 1992
  • Version 3.0 was released in May of 1993
  • Version 4.0, released in September of 1995
  • Version 5.0 was released in March of 1997
  • Version 6.0 was released in August of 1998

24
Introduction to Visual Basic
  • It is a Windows programming language
  • Language used to create windows application
  • Provides a Graphical User Interface (GUI)

25
Introduction to Visual Basic
  • Input screen of a DOS-based BASIC program to fill
    a database
  • ____________________________________________
  • Enter Name (Enter EOD to terminate) Mr.
    President
  • Enter Address 1600 Artesian
  • Enter City Detroit
  • Enter State MI
  • Enter Phone Number 313-982-1011
  • _____________________________________________

26
Introduction to Visual Basic
27
Introduction to Visual Basic
  • Integrated Development Environment (IDE)
  • Editor, Compiler, Form Builder, Debugger
  • Rapid Application Development (RAD) tool
  • Event-driven programming language
  • The sequence of instructions executed in the
    program is controlled by events, like mouse click.

28
Hierarchy of VB Application
  • Application
  • Application Properties
  • Forms
  • Properties
  • Event Handlers
  • Controls
  • Properties
  • Event Handlers

29
Hierarchy of VB Application
30
(No Transcript)
31
Steps to Design a Visual Basic Application
  • 1. Create the interface (forms controls)
  • 2. Set properties for forms controls
  • 3. Write code for appropriate events
Write a Comment
User Comments (0)
About PowerShow.com