CHAPTER 6 VB Lesson Notes
CHAPTER 6 VB Lesson Notes
Who is a programmer?
• A person who writes computer programs.
Bill Gates is arguably one of the most popular computer
programmers of all time.
HISTORY ABOUT VISUAL BASIC
Visual Basic (VB) is a computer programming language that
was developed by Microsoft.
It was first introduced in 1991 and was largely based on an
earlier programming language called BASIC.
VB is designed to be easy to use by incorporating an integrated
development environment (IDE)
IDE provides the programmer the tools for software
developments.
WHY VISUAL BASIC IS WIDELY USED:
• Modern and general purpose.
• Object oriented.
• Component oriented.
• Easy to learn.
• Structured language.
• It produces efficient programs.
• It can be compiled on a variety of computer platforms.
• Part of .NET Framework.
THE SIX STEPS OF SOFTWARE
DEVELOPMENT
1. Specification
2. Program Design Specification
4. Program Test
5. Program Documentation
6. Program Maintenance
VISUAL BASIC INTEGRATED DEVELOPMENT ENVIRONMENT
• Visual Basic is event-driven, meaning code remains idle until called
upon to respond to some event. Example by pressing a button.
.suo a solution user options file that stores information about the selected options
.vbproj a project file that describes the project and lists the files included
.vbproj.user project user option file that holds project option settings
ACTIVITY 1
1. Why is Visual Basic such a popular programming language?
2. What are some of the standard elements that can be placed on a
Windows Form?
3. What are objects and properties? How are they related to each
other?
4. What is the purpose of these Visual Basic file types: .sln and .vb?
5. Visual Basic is event-driven. What does this mean?
6. What is the purpose of an IDE?
Writing a Good Visual Basic Applications
2. Plan the properties- For each object, write down the properties
that you plan to set or change during the design of the form.
3. Plan the Solution - During this planning stage, you will write out the
actions using pseudocode, which is an English expression. Some
people prefer describing the steps using a flowchart.
OBJECT NAMING CONVENTIONS
After completing the planning steps and obtaining approval from the
users, the programmer can begin with the actual construction of the
project. In the actual program implementation, the programmer does
the following: