0% found this document useful (0 votes)
294 views

RM 16 - Introduction To Visual Studio 2010

Visual Basic is an object-oriented programming language developed by Microsoft for building graphical user interfaces. The document discusses Visual Basic 2010, including how to start a new project, the interface layout with menus, tabs and windows, and how to use controls and change their properties. It explains the main parts of the Visual Basic integrated development environment like the toolbox, properties window, solution explorer and form designer. Controls like buttons, textboxes and labels are dragged from the toolbox onto forms, and their properties can be configured in the properties window.

Uploaded by

Jeff Lacasandile
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
294 views

RM 16 - Introduction To Visual Studio 2010

Visual Basic is an object-oriented programming language developed by Microsoft for building graphical user interfaces. The document discusses Visual Basic 2010, including how to start a new project, the interface layout with menus, tabs and windows, and how to use controls and change their properties. It explains the main parts of the Visual Basic integrated development environment like the toolbox, properties window, solution explorer and form designer. Controls like buttons, textboxes and labels are dragged from the toolbox onto forms, and their properties can be configured in the properties window.

Uploaded by

Jeff Lacasandile
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 6

Reading Material

Computer

I. Introduction

Visual Basic is an object-oriented programming language developed by Microsoft


Corporation.

“Visual refers to the method used to create what the user sees - the graphical user
interface, or GUI. “Basic refers to the BASIC (Beginners All-Purpose Symbolic Instruction
Code) high level programming language whose design philosophy emphasizes ease of use.

II. Objectives
At the end of the lesson, you should be able to;
1. discuss how start a new project in Visual Basic 2010;
2. identify the menus, tabs and controls in Visual Basic 2010; and
3. demonstrate how to use controls and change properties in Visual Basic 2010.

III. Pretest
Answer the following questions;
1. What is Visual Basic 2010?
2. How do you start a new project in VB 2010?
3. How do we use controls and change properties in VB2010?

Saint John Bosco College of Northern Luzon, Inc. Page 1


IV. Discussion / Course Content

LESSON 18: INTRODUCTION TO VISUAL STUDIO 2010

Visual Basic 2010 is not a stand alone product. It is still a major component of
Visual Studio which can be purchased economically.

VB10 Start Page

The start page is divides into two sections:

1. Project Management (left) - offers a quick way to start with list of recently opened
projects.

● New Project/ Open Project Section - let’s you create a new VB project.
● Recent Projects section - shows a list of projects that have been created by you
recently.

2. Information (right) - contains resources to help to work on VB, such as links to Microsoft
website, walkthroughs to help you learn new features.

● Getting Started Pane - provides some helpful tips to quickly develop your applications.
● Latest News section- provides latest news ( new release and updates).
● Properties section - let’s you define the properties in each control.

Starting A New Project:

1. Click on the new project.


2. Select Windows forms application.
3. Change the default project name to the name you like.
4. After you have renamed, click OK to continue.

Saint John Bosco College of Northern Luzon, Inc. Page 2


IDE Window

The IDE Main Window holds the visual basic menu bar and the toolbar. Each window can
be moved, resized, opened, closed, modified and customized.

1. The Main menu

The menu bar on the top section provides access to the most of the commands that
could control the development environment. Menus and commands works a s they do in all
window-based programs.

2. The Toolbars

Contains the frequently accessed functionality that is a subset of what is available in the
main menu. The toolbars are context sensitive, showing and hiding personalities depending
on what is being done.

3. The Document Window

The largest window in the center of the screen is the Document window. The tab across
the top of the window, allows you to switch between open documents. The items that display
in the Document window include the Form Designer and the code editor.

Form Designer:

Saint John Bosco College of Northern Luzon, Inc. Page 3


Code Window:

4. The Solution Explorer Window

The Solution Explorer Window displays the list of files, folders and resources
included in a project and the list of the classes it references.

5. Properties window

The Properties Window contains an object list that itemizes all the user interface
elements on the form. It displays different fields depending on the item selected in the
Solution Explorer.

It is used to change characteristics or property settings of the UI element. The property


settings are listed on the left column and the current setting for each property is listed on the
right column.

Saint John Bosco College of Northern Luzon, Inc. Page 4


6. The Toolbox

The toolbox is docked on the vertical tab hidden on the far left side of the VB window.
The toolbox contains the controls.

These controls are categorized into Common Controls, Containers, Menus, Toolbars,
Data, Components, Printings and Dialog. The most frequently used Common controls are
Button, Label, ComboBox, ListBox, Picture Box and TextBox.

Saint John Bosco College of Northern Luzon, Inc. Page 5


Understanding Controls and Properties

Adding Controls

Controls are objects that perform actions within the project. To Add controls, drag and drop
the control on the form. You can also double click the control.
Common Controls:

1. Buttons - used to get the most basic input from a user. When a user clicks the
button, he or she is requesting that the program perform a specific action at once.
Example: OK button, Cancel button, Quit button

2. Textboxes - used to display text on a form or to get user input while a program is
running.

3. Labels - user interface element used to describe text, numbers or symbols when a
program runs.

Setting Control Properties

1. Click the label, textbox, button or the form that you want to set the property.
2. Then go to the property box and change the properties of the controls.

V. References:

Introduction to Visual Basic 2010 :


https://www.youtube.com/watch?v=KNwG8YwYR9U

Visual Basic 2010 for Beginners:


https://www.youtube.com/watch?v=7lpuICNVP4U

VI. Post-Test

 Via Google Classroom

Saint John Bosco College of Northern Luzon, Inc. Page 6

You might also like