SlideShare a Scribd company logo
4 PICS
1 WORD
_ _ _ _ _ _ _
N O G P A R T R M
P R O G R A M
_ _ _ _ _ _
I L N U S C A E V
V I S U A L
_ _ _ _ _ _ _ _ _
T I O S F O B A M T E C R
M I C R O S O F T
_ _ _ _ _ _ _ _
S G A P R I H T E C R
G R A P H I C S
VISUAL BASIC
PROGRAMMING
Introduction to
Microsoft Visual Basic
• Is a trademark name owned by
Microsoft Corporation for a high-
level, visual programming version
of the BASIC.
• It was designed for building
windows-based applications. As
long as you are familiar with the
windows environment, you can
easily learn and create your own
application.
History and Development
• Visual Basic (VB) was evolved from
BASIC.
• BASIC, developed in 1964 by Prof. John
Kemeny and Thomas Kurtz of Darmonth
College.
History and Development
• With the development of the Microsoft
windows graphical user interface in the
late 80’s and early 90’s, the natural
evolution of BASIC to VB was begun by
Microsoft Corporation in 1991
History and Development
• Until VB appeared, developing Microsoft
windows-based applications was a
difficult and cumbersome process. VB
simplifies windows application
development. Since 1991, six versions
of VB have been release with the latest
VB 2012.
History and Development
TYPES OF PROGRAMMING
Visual Basic is a distinctly different
language from BASIC. It provides
powerful features such as graphical user
interface (GUI) event handling, object
oriented features, error handling,
structured programming, and much more.
In order to understand the application
development process, it is helpful to
understand first some of the key concepts
upon which VB is built.
TYPES OF PROGRAMMING
A. Textual Programming – A way to create a
program wherein you write a code using the
syntax of a particular language. A text based
program is developed by a procedural language.
The most widely used are C, Pascal, BASIC,
FORTRAN, COBOL.
Sample:
Rem This program computes for the area of a rectangular figure.
Input “Enter Length: “; L
Input “Enter Width: “;W
A = L * W
Print “The area is “; A “sq. units.”
end
TYPES OF PROGRAMMING
B. Event Programming or Visual Programming – a
method of programming with the use of a
programming environment in which basic
program components can be selected through
menu choices, buttons, icons and other
predetermined methods. In creating programs,
the icons used represent common programming
routines.
EVENT here is defined as an action or
occurrence, often generated by the user, to
which a program might respond. (ex. Key
presses, button clicks, or mouse movements.)
Sample of Event Programming
PROGRAM OUTPUT
Visual Basic Program Development
Cycle
Developing a Program
Writing a VB program requires a few steps. Have a concrete
plan on what you are going to do, design an interface for
it, and write a program to achieve it. Below are the steps
in developing a VB Program. These steps are what we
call the program development cycle.
1. Define what you want the computer to do.
2. Decide how your program will look on the
screen.
3. Design what you planned.
4. Enhance your design.
5. Write your codes.
6. Test your program.
7. Edit, if necessary
Visual Basic Program Development
Cycle
1. Define what you want the computer to do.
If you have a concrete idea as to what you are planning
to do, it will be easier for you to start one by writing all
the needed requirements (paper and pencil).
Example:
Purpose or Project: To design an Employee’s Pay Slip
Data needed: Employee number, department, employee
name, basic pay, allowances, deductions and net pay.
Visual Basic Program Development
Cycle
2. Decide how your program will look on the screen.
Similar to a designer, you start working on your canvass,
having your first sketches. You may start working with a
paper and pencil or you may put your design directly to
VB. Planning the design of your program is one of the
most exciting part in VB. The look of your program is
what we call USER INTERFACE
Example: GLOBAL NETWORK INC.
Employee’s Pay Slip
Employee Number Department
First Name Last Name
Basic Salary Deductions
Allowances Net Pay
Visual Basic Program Development
Cycle
3 Design what you planned. –
Draw the user interface using common parts such as
windows, menus and command buttons. In VB, you will
be working on your FORM, plan where to start your
design. (The parts of a user interface are called Objects
or Controls.)
Example:
Visual Basic Program Development
Cycle
4. Enhance your design. – define the name, color, size and
appearance or each user interface object. (an Object’s
characteristics are its properties)
Example:
Visual Basic Program Development
Cycle
5. Write your codes.
Write instructions in BASIC to make each part of your
program do something . (Your BASIC Instructions are
the commands or codes.)
Visual Basic Program Development
Cycle
6. Test your program
Run your program to see if it works.
Visual Basic Program Development
Cycle
7. Edit, if necessary
If you want to make changes in the interface design,
just restructure it. If there is a problem with the codes,
fix any errors (or bugs) in your program.
Visual Basic Integrated
Development Environment (IDE)
Visual Basic Integrated
Development Environment (IDE)
The IDE is a set of
integrated tools for
developing software.
The VB IDE allows the
programmer to create, run,
and debug VB programs
conveniently and quickly.
This method is called RAD
(Rapid Application
Development)
END OF PRESENTATION
Test Yourself: Complete the following
acronym
I.
1. RAD : _______________________
2. VB : _______________________
3. BASIC: _______________________
4. IDE : _______________________
5. GUI : _______________________
II.
Enumerate the Visual Basic Program Development Cycle.
1.
2.
3.
4.
5.
6.
7.
Test Yourself:
Give three examples of an Event:
1.
2.
3.
III.
Differentiate Textual Programming from Event
Programming (5 pts)
____________________________________________
____________________________________________
____________________________________________
Transitional
Page
Backdrops:
- These are full sized
backdrops, just scale them up!
- Can be Copy-Pasted out of
Templates for use anywhere!
www.animationfactory.com

More Related Content

PPTX
Lesson 4 Introduction to Human Computer Interaction.pptx
PPTX
LESSON1-INTRODUCTION-TO-VISUALBASIC-1.pptx
PPTX
LESSON1-INTRODUCTION-TO-VISUALBASIC-1.pptx
PPTX
TVL ICT_Introduction to Visual Basic.pptx
PPTX
.Net Technologies Lesson 1.pptx
PPTX
Programming basics
DOCX
Unit 1 vb study_materials
PDF
Visual Basic In Easy Steps Covers Visual Basic 2015 Fourth Mcgrath
Lesson 4 Introduction to Human Computer Interaction.pptx
LESSON1-INTRODUCTION-TO-VISUALBASIC-1.pptx
LESSON1-INTRODUCTION-TO-VISUALBASIC-1.pptx
TVL ICT_Introduction to Visual Basic.pptx
.Net Technologies Lesson 1.pptx
Programming basics
Unit 1 vb study_materials
Visual Basic In Easy Steps Covers Visual Basic 2015 Fourth Mcgrath

Similar to LESSON 1- VISUAL BASIC PROGRAMMING.ppt (20)

PPTX
Managing a project (Mican Trtrttan).pptx
PPTX
Introduction to Visual Basic 6.0 Fundamentals
PPTX
Required computer skills program devlopment
DOCX
Vb lecture
PPTX
Introduction to Visual Basic Programming
PPTX
introduction to visual basic PPT.pptx
PDF
vb-160518151614.pdf
PPTX
vb-160518151614.pptx
PPTX
vb.pptx
DOCX
Retailstoremanagementsystemprojectreport.docx
PPTX
Visual Programming Lecture.pptx
PPTX
hjksjdhksjhcksjhckjhskdjhcskjhckjdppt.pptx
PDF
Retail store management system project report.pdf
PDF
Introduction to oop (object oriented programming)
PDF
Membangun Desktop App
PPT
Visual basic
PDF
Visual Basic in easy steps Covers Visual Basic 2015 Fourth Edition Mcgrath
PPT
Meaning Of VB
PPT
INTRODUCTION OF THEORYOF AUTOMATA AND ABOUT IT
PPT
Visual basic
Managing a project (Mican Trtrttan).pptx
Introduction to Visual Basic 6.0 Fundamentals
Required computer skills program devlopment
Vb lecture
Introduction to Visual Basic Programming
introduction to visual basic PPT.pptx
vb-160518151614.pdf
vb-160518151614.pptx
vb.pptx
Retailstoremanagementsystemprojectreport.docx
Visual Programming Lecture.pptx
hjksjdhksjhcksjhckjhskdjhcskjhckjdppt.pptx
Retail store management system project report.pdf
Introduction to oop (object oriented programming)
Membangun Desktop App
Visual basic
Visual Basic in easy steps Covers Visual Basic 2015 Fourth Edition Mcgrath
Meaning Of VB
INTRODUCTION OF THEORYOF AUTOMATA AND ABOUT IT
Visual basic
Ad

Recently uploaded (20)

PDF
01-Introduction-to-Information-Management.pdf
PDF
RMMM.pdf make it easy to upload and study
PPTX
Cell Types and Its function , kingdom of life
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PDF
Anesthesia in Laparoscopic Surgery in India
PPTX
Week 4 Term 3 Study Techniques revisited.pptx
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PDF
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PPTX
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PPTX
Pharma ospi slides which help in ospi learning
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
01-Introduction-to-Information-Management.pdf
RMMM.pdf make it easy to upload and study
Cell Types and Its function , kingdom of life
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Anesthesia in Laparoscopic Surgery in India
Week 4 Term 3 Study Techniques revisited.pptx
Pharmacology of Heart Failure /Pharmacotherapy of CHF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
Supply Chain Operations Speaking Notes -ICLT Program
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
Final Presentation General Medicine 03-08-2024.pptx
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
Pharma ospi slides which help in ospi learning
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
102 student loan defaulters named and shamed – Is someone you know on the list?
Ad

LESSON 1- VISUAL BASIC PROGRAMMING.ppt

  • 2. _ _ _ _ _ _ _ N O G P A R T R M P R O G R A M
  • 3. _ _ _ _ _ _ I L N U S C A E V V I S U A L
  • 4. _ _ _ _ _ _ _ _ _ T I O S F O B A M T E C R M I C R O S O F T
  • 5. _ _ _ _ _ _ _ _ S G A P R I H T E C R G R A P H I C S
  • 7. Microsoft Visual Basic • Is a trademark name owned by Microsoft Corporation for a high- level, visual programming version of the BASIC. • It was designed for building windows-based applications. As long as you are familiar with the windows environment, you can easily learn and create your own application.
  • 8. History and Development • Visual Basic (VB) was evolved from BASIC. • BASIC, developed in 1964 by Prof. John Kemeny and Thomas Kurtz of Darmonth College.
  • 9. History and Development • With the development of the Microsoft windows graphical user interface in the late 80’s and early 90’s, the natural evolution of BASIC to VB was begun by Microsoft Corporation in 1991
  • 10. History and Development • Until VB appeared, developing Microsoft windows-based applications was a difficult and cumbersome process. VB simplifies windows application development. Since 1991, six versions of VB have been release with the latest VB 2012.
  • 12. TYPES OF PROGRAMMING Visual Basic is a distinctly different language from BASIC. It provides powerful features such as graphical user interface (GUI) event handling, object oriented features, error handling, structured programming, and much more. In order to understand the application development process, it is helpful to understand first some of the key concepts upon which VB is built.
  • 13. TYPES OF PROGRAMMING A. Textual Programming – A way to create a program wherein you write a code using the syntax of a particular language. A text based program is developed by a procedural language. The most widely used are C, Pascal, BASIC, FORTRAN, COBOL. Sample: Rem This program computes for the area of a rectangular figure. Input “Enter Length: “; L Input “Enter Width: “;W A = L * W Print “The area is “; A “sq. units.” end
  • 14. TYPES OF PROGRAMMING B. Event Programming or Visual Programming – a method of programming with the use of a programming environment in which basic program components can be selected through menu choices, buttons, icons and other predetermined methods. In creating programs, the icons used represent common programming routines. EVENT here is defined as an action or occurrence, often generated by the user, to which a program might respond. (ex. Key presses, button clicks, or mouse movements.)
  • 15. Sample of Event Programming PROGRAM OUTPUT
  • 16. Visual Basic Program Development Cycle Developing a Program Writing a VB program requires a few steps. Have a concrete plan on what you are going to do, design an interface for it, and write a program to achieve it. Below are the steps in developing a VB Program. These steps are what we call the program development cycle. 1. Define what you want the computer to do. 2. Decide how your program will look on the screen. 3. Design what you planned. 4. Enhance your design. 5. Write your codes. 6. Test your program. 7. Edit, if necessary
  • 17. Visual Basic Program Development Cycle 1. Define what you want the computer to do. If you have a concrete idea as to what you are planning to do, it will be easier for you to start one by writing all the needed requirements (paper and pencil). Example: Purpose or Project: To design an Employee’s Pay Slip Data needed: Employee number, department, employee name, basic pay, allowances, deductions and net pay.
  • 18. Visual Basic Program Development Cycle 2. Decide how your program will look on the screen. Similar to a designer, you start working on your canvass, having your first sketches. You may start working with a paper and pencil or you may put your design directly to VB. Planning the design of your program is one of the most exciting part in VB. The look of your program is what we call USER INTERFACE Example: GLOBAL NETWORK INC. Employee’s Pay Slip Employee Number Department First Name Last Name Basic Salary Deductions Allowances Net Pay
  • 19. Visual Basic Program Development Cycle 3 Design what you planned. – Draw the user interface using common parts such as windows, menus and command buttons. In VB, you will be working on your FORM, plan where to start your design. (The parts of a user interface are called Objects or Controls.) Example:
  • 20. Visual Basic Program Development Cycle 4. Enhance your design. – define the name, color, size and appearance or each user interface object. (an Object’s characteristics are its properties) Example:
  • 21. Visual Basic Program Development Cycle 5. Write your codes. Write instructions in BASIC to make each part of your program do something . (Your BASIC Instructions are the commands or codes.)
  • 22. Visual Basic Program Development Cycle 6. Test your program Run your program to see if it works.
  • 23. Visual Basic Program Development Cycle 7. Edit, if necessary If you want to make changes in the interface design, just restructure it. If there is a problem with the codes, fix any errors (or bugs) in your program.
  • 25. Visual Basic Integrated Development Environment (IDE) The IDE is a set of integrated tools for developing software. The VB IDE allows the programmer to create, run, and debug VB programs conveniently and quickly. This method is called RAD (Rapid Application Development)
  • 27. Test Yourself: Complete the following acronym I. 1. RAD : _______________________ 2. VB : _______________________ 3. BASIC: _______________________ 4. IDE : _______________________ 5. GUI : _______________________ II. Enumerate the Visual Basic Program Development Cycle. 1. 2. 3. 4. 5. 6. 7.
  • 28. Test Yourself: Give three examples of an Event: 1. 2. 3. III. Differentiate Textual Programming from Event Programming (5 pts) ____________________________________________ ____________________________________________ ____________________________________________
  • 30. Backdrops: - These are full sized backdrops, just scale them up! - Can be Copy-Pasted out of Templates for use anywhere! www.animationfactory.com