chapter 1- visual basic schneider 1 chapter 1 an introduction to computers and visual basic
TRANSCRIPT
![Page 1: Chapter 1- Visual Basic Schneider 1 Chapter 1 An Introduction to Computers and Visual Basic](https://reader036.vdocuments.us/reader036/viewer/2022082610/56649d6e5503460f94a4fd76/html5/thumbnails/1.jpg)
Chapter 1- Visual Basic Schneider
1
Chapter 1
An Introduction to Computers and Visual
Basic
![Page 2: Chapter 1- Visual Basic Schneider 1 Chapter 1 An Introduction to Computers and Visual Basic](https://reader036.vdocuments.us/reader036/viewer/2022082610/56649d6e5503460f94a4fd76/html5/thumbnails/2.jpg)
Chapter 1- Visual Basic Schneider
2
Outline and Objectives
•Introduction to Computers
•Using Windows
•Files and Folders
•An Introduction to Visual Basic
![Page 3: Chapter 1- Visual Basic Schneider 1 Chapter 1 An Introduction to Computers and Visual Basic](https://reader036.vdocuments.us/reader036/viewer/2022082610/56649d6e5503460f94a4fd76/html5/thumbnails/3.jpg)
Chapter 1- Visual Basic Schneider
3
Parts of a Computer System:
Hardware: Electronic Devices Software: Instructions and Computer
Programs
![Page 4: Chapter 1- Visual Basic Schneider 1 Chapter 1 An Introduction to Computers and Visual Basic](https://reader036.vdocuments.us/reader036/viewer/2022082610/56649d6e5503460f94a4fd76/html5/thumbnails/4.jpg)
Chapter 1- Visual Basic Schneider
4
Main components of Hardware:
Input : Keyboard, Mouse System unit:
•Random Access Memory (RAM)
•Central Processing Unit (CPU) Output: Monitor, Printer Secondary Storage: Disk Drive
![Page 5: Chapter 1- Visual Basic Schneider 1 Chapter 1 An Introduction to Computers and Visual Basic](https://reader036.vdocuments.us/reader036/viewer/2022082610/56649d6e5503460f94a4fd76/html5/thumbnails/5.jpg)
Chapter 1- Visual Basic Schneider
5
Random Access Memory (RAM)
Stores program instructions and data needed for processing.
Stores intermediate and final results of processing.
Contents are erased when computer is turned off or reset (volatile).
![Page 6: Chapter 1- Visual Basic Schneider 1 Chapter 1 An Introduction to Computers and Visual Basic](https://reader036.vdocuments.us/reader036/viewer/2022082610/56649d6e5503460f94a4fd76/html5/thumbnails/6.jpg)
Chapter 1- Visual Basic Schneider
6
Programming Languages:
Machine Language High level Language
![Page 7: Chapter 1- Visual Basic Schneider 1 Chapter 1 An Introduction to Computers and Visual Basic](https://reader036.vdocuments.us/reader036/viewer/2022082610/56649d6e5503460f94a4fd76/html5/thumbnails/7.jpg)
Chapter 1- Visual Basic Schneider
7
Machine Language The fundamental language of the
computer’s processor, also called Low Level Language.
All programs are converted into machine language before they can be executed.
![Page 8: Chapter 1- Visual Basic Schneider 1 Chapter 1 An Introduction to Computers and Visual Basic](https://reader036.vdocuments.us/reader036/viewer/2022082610/56649d6e5503460f94a4fd76/html5/thumbnails/8.jpg)
Chapter 1- Visual Basic Schneider
8
High Level Language
Computer (programming) languages that are easier to learn.
Uses English like statements. Examples are C++, Visual Basic, and
Java
![Page 9: Chapter 1- Visual Basic Schneider 1 Chapter 1 An Introduction to Computers and Visual Basic](https://reader036.vdocuments.us/reader036/viewer/2022082610/56649d6e5503460f94a4fd76/html5/thumbnails/9.jpg)
Chapter 1- Visual Basic Schneider
9
Software:
Instructions for the hardware. A collection of instructions is called a
program.
![Page 10: Chapter 1- Visual Basic Schneider 1 Chapter 1 An Introduction to Computers and Visual Basic](https://reader036.vdocuments.us/reader036/viewer/2022082610/56649d6e5503460f94a4fd76/html5/thumbnails/10.jpg)
Chapter 1- Visual Basic Schneider
10
Using Windows Basic techniques to use the mouse:
•Pointing: moving mouse until the pointer is above desired object on the screen
•Clicking: press and release the left mouse button once
•Dragging (drag and drop): hold object, move it , then release
•Double-Clicking: clicking the left mouse button twice in quick succession.
•Hovering: lingering mouse at particular place and waiting for a message or menu to appear
![Page 11: Chapter 1- Visual Basic Schneider 1 Chapter 1 An Introduction to Computers and Visual Basic](https://reader036.vdocuments.us/reader036/viewer/2022082610/56649d6e5503460f94a4fd76/html5/thumbnails/11.jpg)
Chapter 1- Visual Basic Schneider
11
Key Terms in using Windows
Title Bar Active window Dragging a window
![Page 12: Chapter 1- Visual Basic Schneider 1 Chapter 1 An Introduction to Computers and Visual Basic](https://reader036.vdocuments.us/reader036/viewer/2022082610/56649d6e5503460f94a4fd76/html5/thumbnails/12.jpg)
Chapter 1- Visual Basic Schneider
12
Using Windows
•Reviewing Notepad to learn more about Windows applications
•Notepad is an item in the Accessories menu
![Page 13: Chapter 1- Visual Basic Schneider 1 Chapter 1 An Introduction to Computers and Visual Basic](https://reader036.vdocuments.us/reader036/viewer/2022082610/56649d6e5503460f94a4fd76/html5/thumbnails/13.jpg)
Chapter 1- Visual Basic Schneider
13
Files & Folders: A disk can store thousands of files. To organize your files you have to store
them in different folders (directories).
![Page 14: Chapter 1- Visual Basic Schneider 1 Chapter 1 An Introduction to Computers and Visual Basic](https://reader036.vdocuments.us/reader036/viewer/2022082610/56649d6e5503460f94a4fd76/html5/thumbnails/14.jpg)
Chapter 1- Visual Basic Schneider
14
Key Terms in using Folders
Root folder Path: A nested sequence of folders
•Example: \Temp\MyProjects\ File Specification: A drive letter, path,
and filename•Example: A:\Temp\MyProjects\Example.vbp
![Page 15: Chapter 1- Visual Basic Schneider 1 Chapter 1 An Introduction to Computers and Visual Basic](https://reader036.vdocuments.us/reader036/viewer/2022082610/56649d6e5503460f94a4fd76/html5/thumbnails/15.jpg)
Chapter 1- Visual Basic Schneider
15
History of Visual Basic:
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.
![Page 16: Chapter 1- Visual Basic Schneider 1 Chapter 1 An Introduction to Computers and Visual Basic](https://reader036.vdocuments.us/reader036/viewer/2022082610/56649d6e5503460f94a4fd76/html5/thumbnails/16.jpg)
Chapter 1- Visual Basic Schneider
16
Introduction to Visual Basic:
A language used to create windows applications.
Programs are developed with a Graphical User Interface or GUI.
The instructions executed in the program are controlled by events.
![Page 17: Chapter 1- Visual Basic Schneider 1 Chapter 1 An Introduction to Computers and Visual Basic](https://reader036.vdocuments.us/reader036/viewer/2022082610/56649d6e5503460f94a4fd76/html5/thumbnails/17.jpg)
Chapter 1- Visual Basic Schneider
17
Terminology used in Visual Basic:
Form Control Object Properties Event
![Page 18: Chapter 1- Visual Basic Schneider 1 Chapter 1 An Introduction to Computers and Visual Basic](https://reader036.vdocuments.us/reader036/viewer/2022082610/56649d6e5503460f94a4fd76/html5/thumbnails/18.jpg)
Chapter 1- Visual Basic Schneider
18
Steps to Design a Visual Basic Application
Design the appearance of the window that the user sees.
Determine the events that the controls on the window should recognize.
Write the event procedures for those events.