An Introduction to Computers and Visual Basic

Slides:



Advertisements
Similar presentations
Intro to Computers!.
Advertisements

Windows Basics An Introduction to the Windows Operating System.
Microsoft Office 2007-Illustrated Introductory, Windows Vista Edition Windows XP Unit A.
Click left mouse button to proceed. Windows Tutorial CST-133 Lab W © Delta College CST Faculty This tutorial was created by R. Hoag in August.
CGS 1060 Introduction to MicroComputer Usage Chapter 1 Windows 7
Office 2003 Introductory Concepts and Techniques, 2 nd Edition M i c r o s o f t Windows XP Project Introduction to Microsoft Windows XP and Office 2003.
Chapter 1- Visual Basic Schneider1 Chapter 1 An Introduction to Computers and Visual Basic.
Chapter 1- Visual Basic Schneider 1 Chapter 1 An Introduction to Computers and Visual Basic.
The sequence of folders to a file or folder is called a(n) ________.
Office XP Introductory Concepts and Techniques Windows XP Edition M i c r o s o f t Windows XP Project An Introduction to Windows XP Professional and Office.
Microsoft Visual Basic 2012 CHAPTER TWO Program and Graphical User Interface Design.
Computer Systems Week 10: File Organisation Alma Whitfield.
Project 3 File, Document, Folder Management, Windows XP Explorer Windows XP Service Pack 2 Edition Comprehensive Concepts and Techniques.
Introduction to Visual Basic. Quick Links Windows Application Programming Event-Driven Application Becoming familiar with VB Control Objects Saving and.
Copyright © 2012 Pearson Education, Inc. Chapter 1 Introduction to Computing and Programming.
WINDOWS Part 1 – Start Up Basics
Chapter 1- Visual Basic Schneider1 Chapter 1 An Introduction to Computers and Visual Basic.
Windows3.ppt1 Objectives: l Describe the Windows 2000 user interface l Identify elements of a window Using Windows Using Windows.
The Fundamentals of Using Windows 95. Windows 95 ã operating system that performs every function necessary for the user to communicate and control computer.
XP New Perspectives on Windows XP Tutorial 1 Exploring the Basics.
Copyright © 2010 Wolters Kluwer Health | Lippincott Williams & Wilkins Introduction to Windows Chapter 2.
Introduction to Computer in Technology. Internet Discovery Were going to define several terms that are common in Computers and Technology One way to find.
Office 2003 Introductory Concepts and Techniques, 2 nd Edition M i c r o s o f t Windows XP Project Introduction to Microsoft Windows XP and Office 2003.
RIGHT Mouse Button Formatting Cut Copy Paste Save LEFT Mouse Button MAIN BUTTON Single clicks Double clicks Drag Highlight.
Chapter Two Creating a First Project in Visual Basic.
Basic Computer and Word Functions, part 1 Read the information and use to answer the questions in the Basic Computer and Word Functions Study Guide.
CIS111 PC Literacy Getting Started with Windows XP.
Internal Lab Registeration labreg/lab/signup.aspxhttp:// labreg/lab/signup.aspx
Lesson No: 6 Introduction to Windows XP CHBT-01 Basic Micro process & Computer Operation.
Microsoft Visual Basic 2010 CHAPTER TWO Program and Graphical User Interface Design.
Computer Skills Chapter 3. Computer Skills1 by Maram & Dareen windows It is a GUI (Graphical User Interface) operating system which is designed for personal.
Windows 95/NT/XP. What is Windows 95/NT/XP n A program that sets up an environment for you to work in on your computer, based on colorful pictures (icons)
CMPF124 Personal Productivity With Information Technology Chapter 1 – Part 2 Introduction to Windows Operating Systems Manipulating Windows GUI CMPF 124.
Office 2013 and Windows 8: Essential Concepts and Skills Microsoft Office 2013.
Today We Will Review: Operating Systems (Windows) (week 3 & 4) Starting up MS Windows Desktop and its contents Functions of the desktop components Brain.
Fundamentals of Windows Mouse n 4 Basic Operations: –Pointing –Clicking –Double Clicking –Dragging.
Lesson 11 Exploring Microsoft Office 2007
Computing Fundamentals Module Lesson 5 — Essential Computer Skills
Getting Started with Application Software
Introduction to Computer CC111
Computer Skills windows.
An Introduction to Computers and Visual Basic
Program and Graphical User Interface Design
1. Introduction to Visual Basic
Vocabulary I Vocabulary II Vocabulary III Vocabulary IV Vocabulary
Chapter 1 - An Introduction to Computers and Problem Solving
An Introduction to Computers and Visual Basic
Computer/Windows Review.
Module 1.1 Introduction to computers
Office 2010 and Windows 7: Essential Concepts and Skills
Program and Graphical User Interface Design
Introduction to Microsoft Windows
Computer Parts There are four main equipment functions of a computer system: Input, Processing, Storage and Output. Input: the transferring of information.
Microsoft Office Illustrated Introductory, Windows XP Edition
Module 1: Getting Started with Windows 95
CREATING, PRINTING, AND EDITING DOCUMENTS
CIS16 Application Development Programming with Visual Basic
Windows xp PART 1 DR.WAFAA SHRIEF.
Windows 7                      .
Computer Skills Chapter 3.
Computer Parts There are four main equipment functions of a computer system: Input, Processing, Storage and Output. Input: the transferring of information.
Chapter 1 - An Introduction to Computers and Problem Solving
Fundamentals of Using Microsoft Windows XP
File, Document, and Folder Management and Windows XP Explorer
CS-0110 Introduction to Windows XP
Microsoft Office Illustrated Fundamentals
Computer Skills windows.
Computer Skills windows.
MAINTAINING FILES AND CUSTOMIZING WINDOWS Section 2
An Introduction to the Windows Operating System
Presentation transcript:

An Introduction to Computers and Visual Basic Chapter 1 An Introduction to Computers and Visual Basic Chapter 1- Visual Basic Schneider

Outline and Objectives Introduction to Computers Using Windows Files and Folders An Introduction to Visual Basic Chapter 1- Visual Basic Schneider

Parts of a Computer System: Hardware: Electronic Devices Software: Instructions and Computer Programs Chapter 1- Visual Basic Schneider

Main components of Hardware: Input : Keyboard, Mouse System unit: Random Access Memory (RAM) Central Processing Unit (CPU) Output: Monitor, Printer Secondary Storage: Disk Drive Chapter 1- Visual Basic Schneider

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). Chapter 1- Visual Basic Schneider

Programming Languages: Machine Language High level Language Chapter 1- Visual Basic Schneider

Chapter 1- Visual Basic Schneider 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. Chapter 1- Visual Basic Schneider

Chapter 1- Visual Basic Schneider High Level Language Computer (programming) languages that are easier to learn. Uses English like statements. Examples are C++, Visual Basic, and Java Chapter 1- Visual Basic Schneider

Chapter 1- Visual Basic Schneider Software: Instructions for the hardware. A collection of instructions is called a program. Chapter 1- Visual Basic Schneider

Chapter 1- Visual Basic Schneider 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 Notepad is used extensively in this course to create data files most of the concept discussed here will be used in Visual Basic and other Window,s applications Title Bar: Untitled Menu Bar: File Edit Search Help Work Area Vertical Scroll Bar Horizontal Scrollbar Notepad is called text editor Enter key: To start a new line Backspace Key: erase a character Home Key to move the cursor to the beginning of the line End Key: to move to the end of the line How to save a file Chapter 1- Visual Basic Schneider

Key Terms in using Windows Title Bar Active window Dragging a window Work Area Chapter 1- Visual Basic Schneider

Chapter 1- Visual Basic Schneider Using Windows Reviewing Notepad to learn more about Windows applications Notepad is an item in the Accessories menu Chapter 1- Visual Basic Schneider

Chapter 1- Visual Basic Schneider Files & Folders: A disk can store thousands of files. To organize your files you have to store them in different folders (directories). The default extension for a File created with Notepad is TXT . The default extension for a file created with Notepad is TXT. Esc key used in Notepad to remove a dialog box Clicking on the Maximize button of a window makes the window fill the entire screen Clicking on the Minimize button of a window changes the window into an icon Chapter 1- Visual Basic Schneider

Key Terms in using Folders Root folder : A drive letter Example: A: , D: , E: Path: A nested sequence of folders Example: A:\Temp\MyProjects\ File Specification: A drive letter, path, and filename Example: A:\Temp\MyProjects\Example.vbp Think of a disk as a large folder, called the root folder, that contains several smaller folders each with its own name. The naming of folders follow the same rule as naming files Each folder is identified by listing its name preceded by a backslash A filespec typically includes the drive, path and the filename. File is identified by a small directory or folder is identified by a folder icon executable file: is identified by a rectangle with a thin bar across top Go over: How to create a folder to rename a folder to delete a folder or file to Copy a folder or file To move a folder or file Chapter 1- Visual Basic Schneider

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. VB 1.0 was developed in 1991. It was followed by ver 2.0 in 1992, ver 3.) in 1993, ver 4.0 in 1995, ver5.0 in 1997. VB comes in four edition : 1. Learning 2. Professional 3. Enterprise 4.Control Creation Chapter 1- Visual Basic Schneider

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. Visual Basic %5.0 requires the Microsoft Windows 95 operating system. One of the key elements of planning VB application is deciding what the user sees., in other words designing the screen. In VB , the responsive objects a program designer places o windows are called controls. Programs in conventional programming languages run from top down. A VB program works differently, the user is in control by activating an event that is recognized. Chapter 1- Visual Basic Schneider

Terminology used in Visual Basic: Form Control Object Properties Event First you draw the form(s) Forms are the window that your application will use. Next you will place on the Form any Controls you might need.Controls are the graphical objects in the window. Example: Command Button that the user can click on Label Box for displaying messages on the form Text Boxes: for the user to enter text such as name or numbers Picture Boxes: which can contain drawing Each of the controls has many properties that can be customized. Example is to make the caption of the command button to be Exit Program Finally you write appropriate code for each event Here is how VB works An action is recognized by an event by some form or control. The action can be caused by user or by the system If there is code for the event, that code is executed; otherwise the event is ignored The system waits for the next event. Chapter 1- Visual Basic Schneider

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. Step1: You draw forms you want. Forms are the windows that your application will use. If your application requires more than one form, you will have to create the rest of the forms. VB will create the first form of every application for you. Because every application must have at least one form. Step 2: You will place on the form any controls you might need. Controls are the graphical objects in the window. Step3: Each of the controls has many properties that can be customized. Step4: Finally you write the code for appropriate events , such as when a user clicks a button. Chapter 1- Visual Basic Schneider