Presentation is loading. Please wait.

Presentation is loading. Please wait.

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

Similar presentations


Presentation on theme: "Objectives Machine language vs.. High-level language Procedure-oriented, object-oriented, and event- driven languages Background of Visual Basic VB Integrated."— Presentation transcript:

1

2 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

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

4 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

5 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

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

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

8 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

9 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

10 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

11 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

12 VISUAL BASIC

13 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

14 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

15 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 – 1992 - 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

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

17 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 1- 16 Event Driven Programming: Events

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

19 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

20 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

21


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

Similar presentations


Ads by Google