Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 8

STD – X – C/W

CHAPTER – 4
INTRODUCTION TO VISUAL BASIC
I. FILL IN THE BLANKS:
1. Visual Basic is an user friendly environment where the
user can design the interface visually.
2. In VB the development environment is graphical in
nature so it requires more memory
3. Visual basic can be used only with GUI (Graphical User
Interface) operating system
4. Visual basic is one of the components of the MS Visual
Studio 6.0
5. Standard.exe option should be selected to invoke a new
project.
6. The windows can be maximized and minimized
7. IDE(Integrated Development Environment) supports
right mouse clicks.

II. ANSWER THE FOLLOWING:


1. How many types of windows are there in VB? What
are they?
There are 4 types of windows. They are
1. Form Window
2. Properties Window
3. Project – Explorer Window
4. Form Layout Window
2. How many types of toolbars are there in VB?
What are they?
There are 4 types of toolbars. They are
1. Standard
2. Edit
3. Debug
4. Form Editor

3. Write down the steps to be followed to invoke visual


basic.
1. Click start & select program option.
2. In program option, select Microsoft Visual Studio 6.0 &
click on Visual Basic 6.0
3. In a new project dialogue box select standard.exe to
invoke a new project.

4. Write a note on windows.


o The components of the user interface that are placed on
a screen is called as windows.
o The windows can be maximized and minimized.

5. What is properties window?


Properties window displays the design-time property
for selected objects and their current settings. The user
can change the properties during design – time.

6. Explain form window.


a. The form window allows the user to create controls in
the application. The form size can be maximized and
minimized.
b.The form will have the same features at designed time
and at run time unless the form properties are changed
using codes.

7. What is the use of project explorer window?


Project explorer window displays a list of forms, classes,
standard modules and resource files in the application
project.

8. Write a note on form layout window


Form layout window allows the user to position the
forms at design time. All the forms visible in the
environment are displayed on the form layout window.

III. ANSWER THE FOLLOWING IN BRIEF:


1. Write a short note on VB.
 Visual Basic is an ideal programming language for
developing sophisticated programming applications for
Microsoft windows.
 It makes use of Graphical User Interface(GUI) for
creating powerful application.
 Visual basic environment displays a list of available
component and the user can pick up the required
component from the list.
 The user can create the user interface visually by
aligning moving or sizing the components that are
required without writing the code.
 Visual basic is user friendly, where the user can design
the interface visually.
 Visual basic environment facilitate associating code with
each application.

2. Explain IDE
IDE stands for Integrated Development Environment.
The user can develop, run, text and debug his own
applications.
Visual Basic environment is a collection of menus,
toolbars, windows and other tools which helps the user
to create various applications.
This group of tools are called the Integrated
Development Environment. Generally IDE supports
right-mouse clicks.
3. Write a note on tool box.
a. Tool box contains a set of tools that controls on a form at
design time.
b.The description of the tool will appear when the mouse is
placed on the controls.
c. The controls can be placed in the form by double
clicking on the icon in the tool box.
d.Another method is, the control can be selected by
clicking on the icon and it can be drawn on a form.

4. Draw a toolbox and label the parts.

5. What is a tool bar?


o Toolbars contain toolbar buttons which provide quick
access to the most frequently used commands in an
application. Visual basic has different types of tool box.
They are
 Standard tool bar
 Edit tool bar
 Debug tool bar
 Form editor
o The tool bar button can be clicked once to carry out the
action represented by that button.

III. ANSWER THE FOLLOWING WITH DIAGRAM:

1. STANDARD TOOL BAR


Standard toolbar contains toolbar buttons for some
commonly used menu items

2. EDIT TOOL BAR


Edit tool bar contains toolbar buttons for some
commonly used menu items while editing code

Clear All
Bookmark

3. DEBUG TOOL BAR :


Debug toolbar contains toolbar buttons for some
commonly used menu items while debugging code
Call Stack .
4. FORM EDITOR
Form editor contains toolbar buttons for some
commonly used menu items useful for working with forms.
Lock Controls Toggle

2. Explain briefly windows and its types.

Windows are the components of the user interface are


placed on a screen which is in turn called as window. The
windows can be maximized and minimized. The different
types of forms available in VB are

1. Form window
2. Properties window
3. Project Explorer window
4. Form Layout window

1. FORM WINDOW :
1. The form window allows the user to create controls in
the application.
2. The form size can be maximized and minimized.
3. The form will have the same features at design time and
at run time unless the form properties are changed using
codes.

2. PROPERTIES WINDOW :
Properties window displays the design-time properties
for selected objects and their current settings.
The user can change the properties during design time.

3. PROJECT EXPLORER WINDOW :


Project Explorer window displays a list of the forms,
classes, standard modules, and resource files in the
application project.
4. FORM LAYOUT WINDOW :
Form layout window allows the user to position the
forms at design time. All the forms visible in the
environment are displayed on the form layout window.

You might also like