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

Chapter 1 - Intro To

The document discusses an introduction to Visual Basic.NET programming. It covers the history and evolution of Visual Basic, the .NET framework, and the Visual Basic.NET integrated development environment (IDE). The key topics covered include an overview of Visual Basic, the history of Visual Basic and the .NET framework, the elements of the .NET framework, and identifying the Visual Basic.NET application types and IDE. It also describes the concept of event-driven programming in Visual Basic.NET and how to navigate the IDE.

Uploaded by

N F
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
40 views

Chapter 1 - Intro To

The document discusses an introduction to Visual Basic.NET programming. It covers the history and evolution of Visual Basic, the .NET framework, and the Visual Basic.NET integrated development environment (IDE). The key topics covered include an overview of Visual Basic, the history of Visual Basic and the .NET framework, the elements of the .NET framework, and identifying the Visual Basic.NET application types and IDE. It also describes the concept of event-driven programming in Visual Basic.NET and how to navigate the IDE.

Uploaded by

N F
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 22

DFP40023

DFP4013
VISUAL PROGRAMMING

CHAPTER 1 INTRODUCTION TO VB.NET PROGRAMMING


Course Learning Outcome

CLO 1. Explain the different elements


of a visual programming language,
architecture, IDE, object-oriented
programming techniques and the
concepts as building blocks to develop
correct, coherent programs.
Learning Outcome
1.0 INTRODUCTION TO VISUAL BASIC.NET PROGRAMMING
1.1 Discover of Visual Basic
1.1.1 Overview of Visual Basic
1.1.2 Discuss the history of Visual Basic and .NET
1.1.3 Identify the .NET framework elements
1.1.4 Identify the Visual Basic .NET application types
1.2 Understand Visual Basic .NET environment.
1.2.1 Describe the event driven programming concept in Visual
Basic .NET.
1.2.2 Navigate the Integrated Development Environment (IDE) and Help
features.
1.2.3 Identify the Visual Basic .Net Integrated Development
Environment (IDE)
1.2.4 Create a new project
1.2.5 Identify the Main, Form and Toolbox
1.2.6 Identify the Project Explorer and Properties Window Covered in
1.2.7 Create, compile and execute simple Windows and Console Lab Activity 1
applications.
1.1.1 Overview of Visual Basic
 Visual Basic is a third-generation event-driven
programming language and integrated development
environment (IDE) from Microsoft for its Component
Object Model (COM) programming model first released in
1991 and declared legacy in 2008.
 Visual Basic was derived from BASIC, a user-friendly
programming language designed for beginners.
 its enables the Rapid Application Development (RAD) of
graphical user interface (GUI) applications, access to
databases using Data Access Objects, Remote Data Objects,
or ActiveX Data Objects, and creation of ActiveX controls
and objects
1.1.2 History of Visual Basic
 www.nevvb.com.au/visual-basic-versions.aspx
Overview of Visual Basic.Net

 VB.Net is a simple, modern, object-oriented


computer programming language developed by
Microsoft to combine the power of .NET
Framework and the common language runtime
with the productivity benefits of Visual Basic.
 VB.Net programming is very much based on
BASIC and Visual Basic programming languages,
so if you have basic understanding on these
programming languages, then it will be a fun for
you to learn VB.Net programming language.
1.1.2 History of Visual Basic.Net
 www.nevvb.com.au/visual-basic-versions.aspx
1.1.3 Identify the .NET

What is .NET??
 Software platform
 In other words:
.NET is not a language

(Runtime and a library for writing and executing written


programs in any compliant language)
 Visual Basic .NET support in Visual Studio .NET, with
project templates, designers, and other features of the
development environment.
 Visual Basic .NET has many improved language
features, such as inheritance, interfaces, and
overloading that make it a powerful object-oriented
programming language.
 VB.NET support multithreading and exception
handling.
Advantages of Visual Studio.NET
 IntelliSense
 Help about the code usage, keep track of the parameters, and
add calls to properties and methods with only a few
keystrokes, Examples; List Members, Parameter Info, Quick
Info, and Complete Word.
 Data Binding
 .Net provides a simple way to display and interact with data.
 Support multiple language
 Since CLR works like a virtual machine in executing all
common languages. A code can call or use a function written
in another language. Eg; VB.NET, C#, COBOL, Perl and etc.
Learning Outcome
1.0 INTRODUCTION TO VISUAL BASIC.NET PROGRAMMING
1.1 Discover of Visual Basic
1.1.1 Overview of Visual Basic
1.1.2 Discuss the history of Visual Basic and .NET
1.1.3 Identify the .NET
1.1.4 Identify the Visual Basic .NET application types
1.2 Understand Visual Basic .NET environment.
1.2.1 Describe the event driven programming concept in Visual
Basic .NET.
1.2.2 Navigate the Integrated Development Environment (IDE) and Help
features.
1.2.3 Identify the Visual Basic .Net Integrated Development
Environment (IDE)
1.2.4 Create a new project
1.2.5 Identify the Main, Form and Toolbox
1.2.6 Identify the Project Explorer and Properties Window Covered in
1.2.7 Create, compile and execute simple Windows and Console Lab Activity 1
applications.
Learning Outcome
1.0 INTRODUCTION TO VISUAL BASIC.NET PROGRAMMING
1.1 Discover of Visual Basic
1.1.1 Overview of Visual Basic
1.1.2 Discuss the history of Visual Basic and .NET
1.1.3 Identify the .NET
1.1.4 Identify the Visual Basic .NET application types
1.2 Understand Visual Basic .NET environment.
1.2.1 Describe the event driven programming concept in Visual Basic .NET.
1.2.2 Navigate the Integrated Development Environment (IDE) and Help features.
1.2.3 Identify the Visual Basic .Net Integrated Development Environment (IDE)
1.2.4 Create a new project
1.2.5 Identify the Main, Form and Toolbox
1.2.6 Identify the Project Explorer and Properties Window
1.2.7 Create, compile and execute simple Windows and Console
applications. Covered in
Lab Activity 1
1.2.1 Event Driven Programming Concept in VB.Net

 Visual Basic is an event-driven


programming language. 
 common events are Click, DblClick, Load,
MouseMove, MouseDown, MouseUp,
KeyPress, KeyUp, KeyDown, GotFocus,
LostFocus, etc.
 When you click, press a key, move the mouse or fire other
events, the particular block of code of the corresponding event
procedure is executed, and then the program behaves in a certain
way. This is called event-driven programming. 
1.2.2 Integrated Development Environment (IDE)

 Also known as integrated design


environment and integrated debugging
environment.
 Is a type of computer software that
assists computer programmers to
develop software.
 In the case of Visual Basic .NET, that
IDE is Visual Studio.
Integrated Development Environment (IDE)

 The Visual Studio IDE consists of


several sections, or tools, that the
developer uses while programming
which are:
1. The Toolbox on the left
2. The Solution Explorer and
Properties Windows on the right
3. The Code / Design view in the
middle
Integrated Development Environment (IDE)

Toolbox
 is a palette of developer objects, or
controls, that are placed on forms or
web pages and then code is added to
allow the user to interact with them.
 An example would be TextBox, Button
and ListBox controls. With these three
controls added to a Windows Form
object the developer could write code
that would take text, input by the
application user, and added to the
ListBox after the button was clicked.
Integrated Development Environment (IDE)

Solution Explorer
 This is a section that is used to view
and modify the contents of the
project.
 A Visual Studio Windows
Application Project will generally
have a Form object with a code
page, references to System
components and possibly other
modules with special code that is
used by the application.
Integrated Development Environment (IDE)

Properties Windows
 The properties windows shows all the
control (like textbox) properties to be
change at design time.
 Most of this properties can be change
at run time with some code, but
basically most of this properties
change the way the control is display
on your application.
Integrated Development Environment (IDE)

Design view

Forms are designed graphically. In other words, the developer has


a form on the screen that can be sized and modified to look the
way it will be displayed to the application users called design
view.
Integrated Development Environment (IDE)

Code view

This center window of the IDE is also where developers


write the code that makes everything in the application work
called code view.
Getting Help from the Help Menu

Enter search
term in the
Look for box

CLASS
Double-click
an item in
the list box SUMMARY ?
Double-click an item in the lower center pane; upper center pane
shows results
thank you

You might also like