Download as pdf or txt
Download as pdf or txt
You are on page 1of 10

10

Technical-Vocational
Education (TVE)
ICT - Programming in Visual
Basic 2010
Quarter 1 – Module 6:
Visual Basic 2010 Environment

i
TVE – ICT (Programming in Visual Studio 2010) 10
Quarter 1 – Module 6: Visual Basic 2010 Environment
First Edition, 2020

Republic Act 8293, section 176 states that: No copyright shall subsist in any work of the
Government of the Philippines. However, prior approval of the government agency or office
wherein the work is created shall be necessary for exploitation of such work for profit. Such
agency or office may, among other things, impose as a condition the payment of royalties.

Borrowed materials (i.e., songs, stories, poems, pictures, photos, brand names, trademarks, etc.)
included in this module are owned by their respective copyright holders. Every effort has been
exerted to locate and seek permission to use these materials from their respective copyright
owners. The publisher and authors do not represent nor claim ownership over them.

Published by the Department of Education – Schools Division Office of Makati City


OIC-Schools Division Superintendent: Carleen S. Sedilla CESE
OIC-Assistant Schools Division Superintendent: Brian E. Ilan EdD

Development Team of the Module

Writer: Arlene A. Purisima

Editor: Jean T. Tumaneng

Reviewer: Celedonia T. Teneza EdD

Layout Artist: Jean T. Tumaneng

Management Team:
Angelita S. Jalimao
Chief Education Supervisor, Curriculum Implementation Division

Neil Vincent C. Sandoval


Education Program Supervisor, LRMS

Celedonia T. Teneza EdD


Education Program Supervisor, EPP/TLE/TVL

Printed in the Philippines by the Schools Division Office of Makati City


Through the Support of the City Government of Makati (Local School Board)

Department of Education – Schools Division Office of Makati City

Office Address: Gov. Noble St., Brgy. Guadalupe Nuevo


City of Makati, Metropolitan Manila, Philippines 1212
Telefax: (632) 8882-5861 / 8882 - 5862
E-mail Address: [email protected]

ii
What I Need to Know
Hello, Grade 10 Learners! This module is designed to help you fully
understand the Visual Basic 2010 Environment and some related terms. Feel free
to explore each part and accomplish each activity at your own pace.
This module is here to guide you through this lesson. In case you were not
able to follow and understand some instances, you can always go back to that part.
The module is divided into:
Lesson 1: Visual Basic 2010 Environment
After going through this module, you are expected to:
a. launch VB2010 software;
b. explore VB 2010 environment;
c. organize the VB environment

What I Know

1. What is the window used to display all the forms and modules of the current
project?
a. Form Design Window c. Project Explorer Window
b. Form Layout Window d. Properties Window
2. Which of the following windows’ user interface is designed by selecting the desired
control icons or object from the Toolbox?
a. Form Design Window c. Standard Toolbar
b. Project Explorer Window d. Toolbox
3. What part of the VB environment displays the name of the form?
a. Menu bar c. Title bar
b. Name bar d. Toolbar
4. Which of the following enlarges the currently window to a full screen?
a. Close button c. Minimize button
b. Maximize button d. Restore button
5. What part of VB contains icon that represents commonly used controls?
a. Standard toolbar c. Toolbox
b. Title bar d. Form Design Window
6. Visual Basic responds to events using which of the following?
a. a code procedure c. a form procedure
b. an event procedure d. a property
7. Sizing handles make it easier to resize virtually any control when developing
applications with Visual Basic. When working in the form designer, how are
these sizing handles displayed?
a. a rectangle with 4 arrows c. a rectangle with 4 squares
b. a 3D outline around the control d. a wavy red line
8. Forms, command, buttons labels, etc. are example of ____?
a. object b. tool c. icon d. image

1
9. What is a blank form that shows automatically when starting a Visual Basic
program?
a. Title bar c. Windows Form Object
b. Menu bar d. Properties Window
10. Which of the following window shows the properties of the form or control you
have selected?
a. Solution Explorer Window c. Toolbar
b. Properties Window d. Toolbox
11. What of the VB screen element contains the project files and buttons that
allowed you to toggle between code view and design view?
a. Title bar c. Windows Form Object
b. Menu bar d. Solution Explorer
12. It provides quick access to frequently used commands represented by icons?
a. Toolbox b. Menu bar c. Toolbar d. Start page
13. The properties window plays an important role in the development of Visual
Basic applications. What is the main used of it?
a. to change how objects, look and feel
b. to store data on the hard drive
c. to allow the programmer enhance the program
d. to debug the program
14. What is the shortcut key used to exit or close the Visual Basic program?
a. Alt+C b. ALT+X c. CTRL+X d. ALT+F4
15. What is the first page when you open a new project in VB?
a. Toolbox b. Menu bar c. Toolbar d. Start page

Lesson
Visual Basic 2010 Environment
1
What’s In

Let us have a quick recap on what has transpired in Module 5. Match


Column A with Column B. Write your answer on the space provided.

COLUMN A COLUMN B

_____ 1. VB 3.0 a. Improved version of VB 1, speed is faster


_____ 2. VB 1.0 for DOS b. Characterized as RAD
_____ 3. VB 6.0 c. Used MS Access as database engine
_____ 4. VB 2010 d. The most popular version of VB
_____ 5. VB 2.0 e. characterized as COW

Notes to the Teacher


The word “Visual” refers to the way the Graphical User Interface (GUI) is
designed.

2
What’s New
Activity 1: Identify the 10 Parts of the Visual Basic Screen Elements. Draw
a line on each word that you were able to search. These words are positioned
vertically, horizontally, diagonally or reversed. Do it as fast as you can.

Good job! Now, be ready to explore and be amazed on how beautiful Visual Studio
is. Enjoy!

What is It

Launching the MS Visual Basic 2010 Program


1. Click the Start or office button
2. Point to all Programs
3. Click Microsoft Visual Basic 2010 Express
Or click icon from the task bar

THE VISUAL BASIC 2010 WINDOW


When you launch the Visual Basic 2010, the Integrated Development
Environment (IDE) start page is displayed. The Start Page contains the
following panes:
a. New Project /Open Project Pane
b. Recent Projects Pane
c. Get Started Pane
d. Latest News Pane
e. Properties Pane

3
To start creating your first application, you need to click on the New Project. After
clicking on the New project, the following New Project dialog box will appear:

• Select Windows Form


Application, at the bottom of this
dialog box, you can change the
default project name
WindowsApplication1 to some
other name you like, for example,
Activity1. After you have renamed
the project, click OK to continue.

The following IDE Windows will appear:

VISUAL BASIC SCREEN ELEMENTS


NAME DESCRIPTION
a. Title bar It contains the name of the program and software
b. Menu bar Contain all the commands in the form of MENU. Such as
File, Edit, View, Project, Debug, Data Tools, Window and
Help
c. Toolbar Contains buttons which are used for performing common
tasks, represented by icon
d. Solution It contains a complete view of what files are associated in
Explorer each project. It can contain options for organizing
solutions, projects, and files.
e. Properties Displays the list of attributes of the form and its controls.
Window
f. Toolbox Contains tools used for creating or drawing controls on
the form.
g. Windows Form The working area in the Visual Studio IDE. This is the
Designer area where you create and design your form.
h. Status bar Displays information about the current state of specific
elements on the window

Organizing the Visual Basic Environment

4
There are three essential windows to open while creating your project.
1. Form1 – this will appear as your create the project. Every window you see in a
running visual basic application is a form. Visual Studio creates a default form for
you when you create a Windows Forms Application.
2. Properties window- will appear when you click the view tab on the menu bar,
then click other windows and Properties window. It contains the list of properties
for the control that you have selected.
3. Toolbox – will appear when you click the View tab on the Menu bar, then click
Other Windows and Toolbox. You can also display the toolbox when you click the
toolbox icon on the left side of the window or use CTRL+ALT+X

4. Windows can be resized by clicking the double headed arrow


5. Properties’ and toolbox can be moved around the window by dragging their title
bars.
6. To return to its original window position, click the drop-down arrow on the title
bar and click dock.

What’s More
Activity 2.
Visual Basic environment has its similarities with any Microsoft Office
software, since it is also a product of Microsoft. In this activity, complete the
Graphic Organizer by giving your honest opinion/answer based from what you have
learned today.

Graphic Organizer
What I knew already New Concept or Idea Important to remember

5
Chart/picture it or give How it relates a past Not so sure about this
example concept

What I Have Learned

Answer the following questions briefly.


1. What are the different ways to launch VB 2010?
_________________________________________________________________________
_________________________________________________________________________
_________________________________________________________________________
_________________________________________________________________________

2. List down Screen elements of Visual Basic 2010. Give a short definition of
each.
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
3. What are the different ways to organize the Visual Basic environment?
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________

What I Can Do

Top Five List

Write down your ten most important takeaways from the lesson or
discussion. Number your list from 5 down to 1. Write a short explanation
why.
5 _________________________________why? ________________________________
4 ________________________________why? ________________________________
3 ________________________________ why? ________________________________
2 ________________________________why? ________________________________
1 _________________________________why? ________________________________

CRITERIA:
Content – 60%

6
Presentation – 40%

Assessment
Choose the letter of the best answer. Write the chosen letter on a separate sheet of
paper
1. What is the 11th version of Visual Basic?
a. Visual Basic 11.0 c. Visual Basic 2010
b. Visual Basic 2005 d. Visual Basic 2008
2. Who developed Visual Basic?
a. Alan Cooper c. Allan Cooper
b. Allan Copper d. Allan Coopper
3. It is Visual Studio 2010 edition that can be downloaded for free from Microsoft.
a. Express b. professional c. Premium d. Limited
4. It provides quick access to frequently used commands represented by icons.
a. Toolbox b. Menu bar c. Toolbar d. Start page
5. What are you going to click on to return the window back to its original
position?
a. Drop down arrow in the title bar c. Select F1 for help
b. Click question mark d. None of these
6. It contains options for organizing solutions, projects, and files.
a. Toolbox c. Standard toolbar
b. Properties Window d. Solution explorer
7. What software development system was developed by Microsoft?
a. Visual Basic c. Java
b. Windows 10 d. Unix

8. Visual Basic provides a GUI environment. What does the letter I stand for?
a. Interface c. Internal
b. Integrated d. International
9. What window is used to change the appearance of the control?
a. Solution explorer window c. Windows Form Design
b. Properties window d. Form Window
10. What is the shortcut key for displaying the toolbox?
a. CTRL+DEL c. CTRL + ALT+X
b. CTRL + ALT+DEL d. CTRL+ T
11. Which of the following contains all the Visual Basic commands depending on
the task to do?
a. Title bar c. Toolbox
b. Menu bar d. Toolbar
12. What part of the Visual Basic environment displays the name of the form?
a. Menu bar c. Title bar
b. Name bar d. Toolbar
13. The following panes are part of the start page, EXCEPT __________.
a. New Project /Open Project Pane
b. Recent Projects Pane
c. Get Started Pane
d. Save all

7
14. What do we call a blank form that appears automatically when starting a Visual
Basic program?
a. Title bar c. Windows Form Object
b. Menu bar d. Properties Window
15. Which of the following contains tools used for creating or drawing controls on
the form?
a. Title bar c. Toolbox
b. Menu bar d. Toolbar

Additional Activities

Name the following icons and give their function. Write your answer in your
notebook for the next meeting.

1. _______________

2. _______________

3. ________________

4. ________________

5. _______________

For inquiries or feedback, please write or call:

Department of Education – Schools Division Office of Makati City

Gov. Noble St., Brgy. Guadalupe Nuevo


City of Makati, Metropolitan Manila, Philippines 1212

Telefax: (632) 8882-5861 / 8882-5862

Email Address: [email protected]

You might also like