Objectives Machine language vs.. High-level language Procedure-oriented, object-oriented, and event- driven languages Background of Visual Basic VB Integrated.

Slides:



Advertisements
Similar presentations
What is a Computer Program? For a computer to be able to do anything (multiply, play a song, run a word processor), it must be given the instructions.
Advertisements

Chapter 1 Introduction to Visual Basic Programming and Applications 1 Exploring Microsoft Visual Basic 6.0 Copyright © 1999 Prentice-Hall, Inc. By Carlotta.
Introduction to Visual Basic.NET Uploaded By: M.Sheraz anjum.
Visual Basic 2010 How to Program. © by Pearson Education, Inc. All Rights Reserved.2.
Visual Basic 2010 How to Program Reference: Instructor: Maysoon Bin Duwais slides Visual Basic 2010 how to program by Deitel © by Pearson Education,
Introduction to Visual Basic Programming. Lecture Outline History What is Visual Basic First Look at the VB 6.0 Environment Some VB Terminology Our first.
Computers: Tools for an Information Age
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.
Introduction to Programming Programming. COMP102 Prog. Fundamentals I: Introduction / Slide 2 Objectives l To learn fundamental problem solving techniques.
1 An Introduction to Visual Basic Objectives Explain the history of programming languages Define the terminology used in object-oriented programming.
SOFTWARE SYSTEMS SOFTWARE APPLICATIONS SOFTWARE PROGRAMMING LANGUAGES.
Chapter 3 Software Two major types of software
A Tour of Visual Basic BACS 287. Early History of Basic Beginners All-Purpose Symbolic Instruction Code An “Interpreted” teaching language English-like.
Introduction to Programming and Visual Basic
Systems Software Operating Systems.
Computer Software.
Computer for Health Sciences
Programming Languages Lecture 12. What is Programming?  The process of telling the computer what to do  Also known as coding.
Chapter 2 Build Your First Project A Step-by-Step Approach 2 Exploring Microsoft Visual Basic 6.0 Copyright © 1999 Prentice-Hall, Inc. By Carlotta Eaton.
Chapter 1 Introduction to Visual Basic Programming and Applications 1 Exploring Microsoft Visual Basic 6.0 Copyright © 1999 Prentice-Hall, Inc. By Carlotta.
1 Programming Concepts Module Code : CMV6107 Class Contact Hours: 45 hours (Lecture 15 hours) (Laboratory/Tutorial 30 hours) Module Value: 1 Textbook:
Overview-An Overview of Visual Basic.NET1 An Overview of Visual Basic.NET.
Chapter 1 Introduction to Visual Basic Programming and Applications 1 Joshi R.G. Dept. of Computer Sci. YMA.
CSCI 3327 Visual Basic Chapter 1: Introduction to Visual Basic
Chapter Lead Black Slide Powered by DeSiaMore Powered by DeSiaMore.
COMPUTER SOFTWARE Section 2 “System Software: Computer System Management ” CHAPTER 4 Lecture-6/ T. Nouf Almujally 1.
CS 0004 –Lecture 1 Wednesday, Jan 5 th, 2011 Roxana Gheorghiu.
Microsoft Visual Basic 2005: Reloaded Second Edition
COMPUTER PROGRAMMING Source: Computing Concepts (the I-series) by Haag, Cummings, and Rhea, McGraw-Hill/Irwin, 2002.
4 - 1 Copyright © 2006, The McGraw-Hill Companies, Inc. All rights reserved.
An Introduction to Visual Basic
Introduction to Interactive Media Interactive Media Tools: Software.
Chapter 1- Visual Basic Schneider1 Chapter 1 An Introduction to Computers and Visual Basic.
PROBLEM SOLVING The first step in writing instructions to carry out a task is to determine what the output should be (What should the task produce?)
Integrated Development Environment (IDE)
CMPE13Cyrus Bazeghi 1 Programming Languages Telling computers what to do.
Visual BASIC 1 Introduction
Visual C++ Programming: Concepts and Projects
§Visual - A method used to create GUI applications. §BASIC - Beginner’s All - purpose Symbolic Instruction Code developed by John Kemeny. §VB- Evolved.
Systems Software Operating Systems. What is software? Software is the term that we use for all the programs and data that we use with a computer system.
Copyright © 2014 Pearson Education, Inc. Chapter 1 Introduction to Programming and Visual Basic.
Lead Black Slide. © 2001 Business & Information Systems 2/e2 Chapter 5 Information System Software.
CHAPTER TWO INTRODUCTION TO VISUAL BASIC © Prepared By: Razif Razali 1.
Chapter 0 Overview. Why you are here? Where will you go? What is this course for?
CC111 Lec7 : Visual Basic 1 Visual Basic(1) Lecture 7.
Internal Lab Registeration labreg/lab/signup.aspxhttp:// labreg/lab/signup.aspx
10/8: Software What is software? –Types of software System software: Operating systems Applications Creating software –Evolution of software development.
© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Outline 1.1 What Is a Computer? 1.2 Computer Organization.
Copyright © 2010 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with Programming Logic & Design Second Edition by Tony Gaddis.
Windows Programming, C.-S. Shieh, KUAS EC, Chapter 0 Overview.
Application Software System Software.
Overview.ppt Overview-An Overview of Visual Basic.NET An Overview of Visual Basic.NET.
COMPUTER III. Fundamental Concepts of Programming Control Structures Sequence Selection Iteration Flowchart Construction Introduction to Visual Basic.
Chapter 1 Introduction to Visual Basic Programming and Applications 1 Exploring Microsoft Visual Basic 6.0 Copyright © 1999 Prentice-Hall, Inc. By Carlotta.
DEPARTMENT OF COMPUTER SCIENCE Introduction to Visual Basic BCA 3 RD YR PRESENTED BY HASHIR UN NABI Dated:01/07/
Chapter 1 Introduction to Visual Basic
Introduction to Programming and Visual Basic .NET
Visual Basic Code & No.: CS 218
Introduction to Computer CC111
CSCI-235 Micro-Computer Applications
An Introduction to Computers and Visual Basic
Chapter 3.
Introduction to Computers and Java
1. Introduction to Visual Basic
An Introduction to Computers and Visual Basic
Computer Software CS 107 Lecture 2 September 1, :53 PM.
CIS16 Application Development Programming with Visual Basic
An Introduction to Computers and Visual Basic
Chapter Two Visual Basic.Net.
Presentation transcript:

Objectives Machine language vs.. High-level language Procedure-oriented, object-oriented, and event- driven languages Background of Visual Basic VB Integrated Development Environment Online documentation and Help features

Software Application Software – Word Processors – Database s/w – Spreadsheets – Painting programs – Web browsers, programs System Software – Operating Systems Windows Macintosh OS Unix Linux – Drivers Software is comprised of instructions that get a computer to perform a task.

Software Computer Hardware Processing Unit Output Unit Input Unit Memory Unit System Software Application Software Operating System Language Processor Utility Software General Software Customized Software

Exploring MS Visual Basic 6Copyright 1999 Prentice-Hall, Inc.4 Application Programs Program - detailed set of instructions for a computer to execute Application programs (applications or apps) - self- contained collection of programs that perform a task for the end user Programming language - formal language used to give instructions to computers

Programming Languages Programming languages allow programmers to code software. The three major families of languages are: – Machine languages – Assembly languages – High-Level languages

Software Collection of Programs Set of Commands ( Pre Defined ) Programming Language Programmer

Exploring MS Visual Basic 6Copyright 1999 Prentice-Hall, Inc.7 History of Programming Languages Machine language Procedure-oriented languages Object-oriented languages Event-driven languages Natural languages

Exploring MS Visual Basic 6Copyright 1999 Prentice-Hall, Inc.8 History of Programming Languages Machine Language – different for each computer processor Procedure-Oriented Languages – FORTRAN – COBOL – Pascal – C – Ada

Exploring MS Visual Basic 6Copyright 1999 Prentice-Hall, Inc.9 History of Programming Languages Object-oriented languages – Smalltalk – C++ – Ada 95 Event-driven languages – Visual Basic – most Visual languages

Exploring MS Visual Basic 6Copyright 1999 Prentice-Hall, Inc.10 History of Programming Languages Natural languages – computer will accept a user’s native or natural language, such as English – Researchers continue to work in this area

VISUAL BASIC

Why VB? Rationale… Easy for beginners to produce a working program Capable of high end programs Graphical OOP (for the most part) Affordable Many free resources available 12

Exploring MS Visual Basic 6Copyright 1999 Prentice-Hall, Inc.13 Background of Visual Basic BASIC – Beginner’s All-purpose Symbolic Instruction Code – By John Kemeny and Thomas Kurtz – Designed to teach programming to beginners – BASIC language interpreter, one of Microsoft’s first products

Exploring MS Visual Basic 6Copyright 1999 Prentice-Hall, Inc.14 Background of Visual Basic BASIC – Beginners' All purpose Symbolic Instruction Code – Included with DOS – QBASIC - included with DOS Version 5 - subset of BASIC Visual Basic – Visual Basic 1 for Windows 3 – Visual Basic 4 - for Windows 95 – Visual Basic 5 - for Office 97 – Visual Basic 6 - for Windows 98 & Office 2000

VISUAL BASIC GUI – (Graphical user interface )Graphical user interface IDE – (Integrated development environment)Integrated development environment EDP – (Event Driven Programming)Event Driven Programming

The GUI environment is event-driven An event is an action that takes place within a program – Clicking a button (a Click event) – Keying in a TextBox (a TextChanged event) Visual Basic controls are capable of detecting many, many events A program can respond to an event if the programmer writes an event procedure Slide Event Driven Programming: Events

Starting VB 6.0 Go to Start All Programs Microsoft Visual Studio 6.0 Microsoft Visual Basic 6.0 Select

Exploring MS Visual Basic 6Copyright 1999 Prentice-Hall, Inc.18 Toolbox Form Designer Window Code Editor Window Project Explorer Properties window Form Layout Window Visual Basic 6 Interactive Development Environment

Elements of the Integrated Development Environment Application icon Application name Context menus Controls Current project Design view mode Title bar Major windows – Form Designer – Form Layout – Toolbox – Project Explorer – Object Browser – Properties – Code Editor – Immediate, Locals, Watch