Class VIII Computer Science Week 1 PPT-converted 2020
Class VIII Computer Science Week 1 PPT-converted 2020
COMPUTER SCIENCE
PROGRAMMING IN
VISUAL BASIC
Sample Forms Created Using VISUAL BASIC
Software Used:
VISUAL BASIC 6.0
Chapter 2:
Starting With Visual Basic
Introduction to Visual Basic:
• Visual Basic is a high level programming language evolved from the earlier
DOS version called Basic.
• A Visual Basic program is made up of many sub programs , each has its own
program codes, and each can be executed independently and at the same each be
linked together in one way or another.
Let’s see the differences between Basic and Visual Basic
By clicking the standard EXE icon ,we can go into the actual VB
Programming environment.
INTEGRATED DEVELOPMENT ENVIRONMENT(IDE)
The working environment in
Visual Basic is often referred to
as the integrated development
Environment or IDE because it
integrates many different
functions such as design ,
editing, compiling , and
debugging within a common
environment. In most
traditional development tools,
each of these functions would
operate as a separate program,
each with its own interface.
• Title Bar : Title bar is located at the top of the screen it shows the default name for the
‘new’ project as PROJECT 1. Also notice that the title bar indicates that we are design mode.
• Menu Bar : The menu bar is located below the title bar. It displays various menu options
of visual basic.
• Tool Bar : The tool bar consists of most frequently used commands and utilities.
Title Bar
Menu Bar
Tool Bar
• Blank Form : The blank form window which you can design your
application’s interface.
• Project Explorer Window : This
window displays the files that are
created in your application.
When you click on different controls the properties window changes slightly , this is due
to different controls having different functions. When you use the command button, you
will find that a new set of properties come up .
• Toolbox : Toolbox consists of all the controls essential for developing
a VB application. Controls are tools such as boxes , buttons, labels and
other objects draw on a form to get input or display output.
• Form Layout Window : This window is used to position the form where it will be
displayed on the screen. Its icon is available on the toolbar or you can select it from the
View / Form Layout Window menu.
• Code Window : The Code Window is a part of visual basic environment where user
can write the code for running an application.
You can write the code between the Private Sub and End Sub line.
So this week we learnt about Visual Basic IDE and its components.
Please make yourself familiar with the IDE , so that we can start doing visual basic
programs from next class.
Stay Safe….