Module 2
Lesson 1.
Visual Basic 2010 is the latest version of Visual Basic launched by Microsoft in 2010. Visual Basic
2010 is a full fledged Object-Oriented Programming (OOP) Language, so it has caught up with
other OOP languages such as C++, Java,C# and others.
However, you don’t have to know OOP to learn VB2010. Visual Basic 2010 Express Edition is
available free for download from the Microsoft site. Go to the link
http://www.microsoft.com/visualstudio/en-us/products/2010-editions/visual-basic-express
The Integrated Development Environment when you launch VB2010 Express is shown in the
diagram below. The IDE Start Page consists of a few sections, namely:
The New Project/Open Project section.
The Recent Projects section that shows a list of projects that have been created by you
recently.
The Getting Started Pane- It provides some helpful tips to quickly develop your
applications.
The Latest News section- It provides latest online news about Visual Basic 2010
Express. It will announce new releases and updates
The Properties section-let you defines the properties of each control
To start creating your first application, you need to click on New Project. The following VB2010 New
Project dialog box will app.
Lesson 2-Working with Controls
Controls in Visual Basic 2010 are tools that can be placed in the form to perform various tasks.
We can use them to create all kinds of Windows applications. The diagram below shows the
Toolbox that contains the controls of Visual Basic 2010. They are categorized into Common
Controls, Containers, Menus, Toolbars, Data, Components, Printings and Dialogs. At the
moment, we will focus on the common controls. Some of the most used common controls are
Button, Label, ComboBox, ListBox, PictureBox, TextBox and more.
Lesson 3-Working with Control Properties
3.1 The Control Properties in VB2010
Before writing an event procedure for a control in Visual Basic 2010 to response to a user’s
input, you have to set certain properties for the control to determine its appearance and how it
will work with the event procedure. You can set the properties of the controls in the properties
window at design time or at runtime
Comments
Post a Comment