SlideShare a Scribd company logo
1 of 56
PROGRAMMING
BASICS
TOPICS
 computer program
 programming
 programming language
 introduction to vb.net
Computer Program
- A set of instructions that directs a computer to
perform tasks.
Programming
 A process of coming up with instructions that
a computer can follow to do something.
Or simply
 Process of coming up with computer
programs.
How computers interpret
commands?
HUMAN
READABLE
LANGUAGE
COMPILER
MACHINE
READABLE
FORM
</WHY?>
programming. is (“Cool”)
Educational
websites
Self-driving cars
Robots
Games
Operating Systems
Programming Language
 A set of rules that provides a way of telling a
computer what operations to perform.
 Computer language
Statements
BASIC SET Balance = 500
AppleScript set balance to 500
Java balance = 500;
COBOL MOVE 500 TO BALANCE
Most Popular Coding Languages of 2015
Why are there so many
programming language?
 Programming languages have evolved
overtime.
 Different programming languages are
designed for different types of programs.
Ex.
Java – mobile-based applications
PHP – data base applications
C+ - device drivers
Visual Basic/Visual Studio – quick book,
word, calculator applications
¼ sheet of paper
Quiz
1. A process of coming up with instructions that a
computer can follow to do something.
2. A set of rules that provides a way of telling a
computer what operations to perform.
3. A set of instructions that directs a computer to
perform tasks.
4. Programming Language is also known as
__________
5. A programming language used for data base
applications.
6. Other term for a compiler.
7. Give for application/uses of programming. (7-10)
Advance assignment: short bond
paper
1. What is IDE?
2. How to create a new project in vb.net 2010?
3. What are the different types of projects in
vb.net 2010? (Compare)
4. Parts of VB 2010 Express Edition IDE
INTRODUCTION TO
Visual Basic.NET
with
Microsoft Visual Studio 2010/2013
1. Define Visual Basic.NET and understand the
benefits of using VB.NET;
2. Familiarize VB.Net Integrated Development
Environment (IDE);
3. Create New Project and first program in
VB2010 Express Edition;
4. Manifest patience in developing simple
program.
Objectives:
 Is an Object-Oriented programming language
designed by Microsoft. The word “Basic” is
true in its meaning; VB.NET is a programming
language for beginners.
 OOP is a form of computer programming
based on objects arranged in a branching
hierarchy Microsoft® Encarta® 2009. ©
1993-2008 Microsoft Corporation. All rights
reserved.
What is Visual Basic.NET?
 You can create powerful Windows-based
applications;
 Build web-based applications;
 Deployment is simplified;
 Powerful, flexible, simplified data access ;
 Full Object-Oriented constructs;
 Mobile application.
What are the benefits of Visual Basic.NET?
Integrated Development
Environment
[IDE]
VB.Net
Recent Projects Pane
 Shows the list of projects that have been
created recently.
Get started
pane
 Provides
some
helpful tips
to quickly
develop
application.
Latest news
pane
 Provides latest
online news
about VB.NET
2010. It
announces
new releases
and updates
when
connected via
internet.
Creating New projects in
VB2010 Express Edition
Types of Project in VB.NET
Types of Project in VB.NET express edition:
Windows Form Application
 applications that run locally on your
computers.
 you can create Windows-based
applications and user interfaces
(UI) with this option
…types of Project in VB.NET express edition:
Console Application
 applications are typically designed
without a graphical user interface
(GUI) and are compiled into
executable file.
 You interact with a console
application by typing instructions at
the command prompt.
…types of Project in VB.NET express edition:
Class Library
 You can use the Class Library
template to quickly create reusable
classes and components that can
be shared with other projects.
…types of Project in VB.NET express edition:
WPF Browse application
 Enables you to create visually
enhanced user interfaces for your
applications.
Parts of VB 2010 Express
Edition IDE
Menu Bar
Like any Microsoft Application, VB2010 provides
a Menu Bar that you can use to select commands
for your application. File, Edit, View, Window and
Help are the common Menu Options available in
any Microsoft Applications while Project, Debug,
Data and Tools are Menu Options which are used
in VB projects.
Tool Bar
Next line below the Menu Bar is the Tool Bar
which has the shortcut icons of all the commonly
used commands in VB2010.
Solution Explorer
The part which contains
the project files. It gives an
overview of all the modules
that are contained in the
application and allows you
to switch from different
windows form.
Tool Box
It consists of the various
controls that can be used to
design the graphical user
interfaces of the application.
You can double click the
items on here to draw them
on the Form Designer
Window or you can select
from the items and draw it to
the Form Designer Window.
 A design space
which contains
objects or controls
used for the
applications. It
allows GUI creation
by providing the
foundation for
controls.
Form Designer Window
 describes the
properties of the
form and its
controls. Lists all
the properties of
the object that’s
currently selected
and gives you the
opportunity to
modify them.
Properties Window
 Object Box – drop down box which displays
the name of each object in the application as
well as its type.
Properties List – this is a listing of properties
for the selected object.
Properties Values – this can be changed by
typing a new value or choosing from a list of
predefined settings.
Parts of Properties Window
 Forms – windows that you create for
user interface
Controls – graphical features drawn on
forms to allow user interaction (text
boxes, labels, scroll bars, command
buttons, etc.) forms and controls are
objects.
… windows application is made up of:
Properties – Every characteristics of a
form or control is specified by a property.
Example properties include names,
captions, size, color, position, and
contents.
Methods – built-in procedure that can be
invoked to impart some action to a
particular object.
… windows application is made up of:
Event Procedures – code related to
some object. This is the code that is
executed when a certain event occurs.
General Procedures – Code not related
to objects. This code must be invoked by
the application.
Modules – collections of general
procedures, variable declarations, and
constant definitions used by application.
… windows application is made up of:
Creating Your First VB.NET
program
Create your VB.Net program
that would display on the
screen ‘I miss you VB.Net’.
1. From the Tool Box double click the Label Control.
2. Drag the Label Control in the center of the Form
Designer Window.
3. Change the property of the Label1 from the
Properties Window. Select Text from the list and
type Merry Christmas!.
4. Now, your application is ready to run. From the
Tool Bar, select the Start Debugging Button or
Press F5.
Steps:
5. You can return from the design mode by
pressing Stop Debugging Button or
Ctrl + Alt + Break.
6. If you are done save your project by choosing
SAVE ALL from the FILE MENU. Select the
location of the file and supply the project name
with RememberingVB.
Read and study the following:
1. What are identifiers, data types, variables and
operators?
Assignment:
Size: 8.5x11 or short bond paper
No. of pages: minimum of 4 pages

More Related Content

What's hot

Chapter 01: Intro to VB2010 Programming
Chapter 01: Intro to VB2010 ProgrammingChapter 01: Intro to VB2010 Programming
Chapter 01: Intro to VB2010 Programmingpatf719
 
Visual basic ppt for tutorials computer
Visual basic ppt for tutorials computerVisual basic ppt for tutorials computer
Visual basic ppt for tutorials computersimran153
 
Visual basic
Visual basicVisual basic
Visual basicDharmik
 
Visual Basic IDE Introduction
Visual Basic IDE IntroductionVisual Basic IDE Introduction
Visual Basic IDE IntroductionAhllen Javier
 
Visual programming lecture
Visual programming lecture Visual programming lecture
Visual programming lecture AqsaHayat3
 
Chapter 01 Introduction to Visual Basic
Chapter 01 Introduction to Visual BasicChapter 01 Introduction to Visual Basic
Chapter 01 Introduction to Visual Basicgbonilla53
 
Chapter 1 — Introduction to Visual Basic 2010 Programming
Chapter 1 — Introduction to Visual Basic 2010 Programming Chapter 1 — Introduction to Visual Basic 2010 Programming
Chapter 1 — Introduction to Visual Basic 2010 Programming francopw
 
Introduction to vb.net
Introduction to vb.netIntroduction to vb.net
Introduction to vb.netSaad Wazir
 
Best practices for upgrading vb 6.0 projects to vb.net
Best practices for upgrading vb 6.0 projects to vb.netBest practices for upgrading vb 6.0 projects to vb.net
Best practices for upgrading vb 6.0 projects to vb.netajmal_fuuast
 
Working with visual basic applications
Working with visual basic applicationsWorking with visual basic applications
Working with visual basic applicationsSara Corpuz
 

What's hot (20)

Chapter 01: Intro to VB2010 Programming
Chapter 01: Intro to VB2010 ProgrammingChapter 01: Intro to VB2010 Programming
Chapter 01: Intro to VB2010 Programming
 
Meaning Of VB
Meaning Of VBMeaning Of VB
Meaning Of VB
 
Visual basic ppt for tutorials computer
Visual basic ppt for tutorials computerVisual basic ppt for tutorials computer
Visual basic ppt for tutorials computer
 
Visual basic
Visual basicVisual basic
Visual basic
 
Visusual basic
Visusual basicVisusual basic
Visusual basic
 
Vb lecture
Vb lectureVb lecture
Vb lecture
 
Visual Basic IDE Introduction
Visual Basic IDE IntroductionVisual Basic IDE Introduction
Visual Basic IDE Introduction
 
Vbasic
VbasicVbasic
Vbasic
 
Vb tutorial
Vb tutorialVb tutorial
Vb tutorial
 
Visual programming lecture
Visual programming lecture Visual programming lecture
Visual programming lecture
 
Ch02 bronson
Ch02 bronsonCh02 bronson
Ch02 bronson
 
Chapter 01 Introduction to Visual Basic
Chapter 01 Introduction to Visual BasicChapter 01 Introduction to Visual Basic
Chapter 01 Introduction to Visual Basic
 
Vp lecture1 ararat
Vp lecture1 araratVp lecture1 ararat
Vp lecture1 ararat
 
Chapter 1 — Introduction to Visual Basic 2010 Programming
Chapter 1 — Introduction to Visual Basic 2010 Programming Chapter 1 — Introduction to Visual Basic 2010 Programming
Chapter 1 — Introduction to Visual Basic 2010 Programming
 
Introduction to vb.net
Introduction to vb.netIntroduction to vb.net
Introduction to vb.net
 
Best practices for upgrading vb 6.0 projects to vb.net
Best practices for upgrading vb 6.0 projects to vb.netBest practices for upgrading vb 6.0 projects to vb.net
Best practices for upgrading vb 6.0 projects to vb.net
 
Visual studio
Visual studioVisual studio
Visual studio
 
Visual programming
Visual programmingVisual programming
Visual programming
 
Visual Basic Controls ppt
Visual Basic Controls pptVisual Basic Controls ppt
Visual Basic Controls ppt
 
Working with visual basic applications
Working with visual basic applicationsWorking with visual basic applications
Working with visual basic applications
 

Similar to Programming basics

hjksjdhksjhcksjhckjhskdjhcskjhckjdppt.pptx
hjksjdhksjhcksjhckjhskdjhcskjhckjdppt.pptxhjksjdhksjhcksjhckjhskdjhcskjhckjdppt.pptx
hjksjdhksjhcksjhckjhskdjhcskjhckjdppt.pptxEliasPetros
 
VB6_INTRODUCTION.ppt
VB6_INTRODUCTION.pptVB6_INTRODUCTION.ppt
VB6_INTRODUCTION.pptBhuvanaR13
 
vb-160518151614.pdf
vb-160518151614.pdfvb-160518151614.pdf
vb-160518151614.pdfLimEchYrr
 
vb-160518151614.pptx
vb-160518151614.pptxvb-160518151614.pptx
vb-160518151614.pptxLimEchYrr
 
Introduction to Visual Basic 6.0
Introduction to Visual Basic 6.0Introduction to Visual Basic 6.0
Introduction to Visual Basic 6.0DivyaR219113
 
introduction to visual basic PPT.pptx
introduction to visual basic PPT.pptxintroduction to visual basic PPT.pptx
introduction to visual basic PPT.pptxclassall
 
.Net Technologies Lesson 1.pptx
.Net Technologies Lesson 1.pptx.Net Technologies Lesson 1.pptx
.Net Technologies Lesson 1.pptxEllenGracePorras
 
LESSON 1- VISUAL BASIC PROGRAMMING.ppt
LESSON 1- VISUAL BASIC PROGRAMMING.pptLESSON 1- VISUAL BASIC PROGRAMMING.ppt
LESSON 1- VISUAL BASIC PROGRAMMING.pptChristopherOlaya1
 
Visual basic concepts
Visual basic conceptsVisual basic concepts
Visual basic conceptsmelody77776
 
Unit -II Introduction to visual programming.pdf
Unit -II Introduction to visual programming.pdfUnit -II Introduction to visual programming.pdf
Unit -II Introduction to visual programming.pdfUjwala Junghare
 
Introduction to visual basic 6 (1)
Introduction to visual basic 6 (1)Introduction to visual basic 6 (1)
Introduction to visual basic 6 (1)Mark Vincent Cantero
 
Introduction to Visual Basic 6.0 Fundamentals
Introduction to Visual Basic 6.0 FundamentalsIntroduction to Visual Basic 6.0 Fundamentals
Introduction to Visual Basic 6.0 FundamentalsSanay Kumar
 
Introduction to vb.net
Introduction to vb.netIntroduction to vb.net
Introduction to vb.netJaya Kumari
 
Analysis Of The Original Version Of Java
Analysis Of The Original Version Of JavaAnalysis Of The Original Version Of Java
Analysis Of The Original Version Of JavaAmanda Brady
 

Similar to Programming basics (20)

VISUAL PROGRAMMING
VISUAL PROGRAMMINGVISUAL PROGRAMMING
VISUAL PROGRAMMING
 
hjksjdhksjhcksjhckjhskdjhcskjhckjdppt.pptx
hjksjdhksjhcksjhckjhskdjhcskjhckjdppt.pptxhjksjdhksjhcksjhckjhskdjhcskjhckjdppt.pptx
hjksjdhksjhcksjhckjhskdjhcskjhckjdppt.pptx
 
VB6_INTRODUCTION.ppt
VB6_INTRODUCTION.pptVB6_INTRODUCTION.ppt
VB6_INTRODUCTION.ppt
 
vb.pptx
vb.pptxvb.pptx
vb.pptx
 
vb-160518151614.pdf
vb-160518151614.pdfvb-160518151614.pdf
vb-160518151614.pdf
 
vb-160518151614.pptx
vb-160518151614.pptxvb-160518151614.pptx
vb-160518151614.pptx
 
Introduction to Visual Basic 6.0
Introduction to Visual Basic 6.0Introduction to Visual Basic 6.0
Introduction to Visual Basic 6.0
 
introduction to visual basic PPT.pptx
introduction to visual basic PPT.pptxintroduction to visual basic PPT.pptx
introduction to visual basic PPT.pptx
 
.Net Technologies Lesson 1.pptx
.Net Technologies Lesson 1.pptx.Net Technologies Lesson 1.pptx
.Net Technologies Lesson 1.pptx
 
LESSON 1- VISUAL BASIC PROGRAMMING.ppt
LESSON 1- VISUAL BASIC PROGRAMMING.pptLESSON 1- VISUAL BASIC PROGRAMMING.ppt
LESSON 1- VISUAL BASIC PROGRAMMING.ppt
 
Vb basics
Vb basicsVb basics
Vb basics
 
Visual basic concepts
Visual basic conceptsVisual basic concepts
Visual basic concepts
 
Unit -II Introduction to visual programming.pdf
Unit -II Introduction to visual programming.pdfUnit -II Introduction to visual programming.pdf
Unit -II Introduction to visual programming.pdf
 
Visual basic
Visual basicVisual basic
Visual basic
 
unit 4.docx
unit 4.docxunit 4.docx
unit 4.docx
 
Introduction to visual basic 6 (1)
Introduction to visual basic 6 (1)Introduction to visual basic 6 (1)
Introduction to visual basic 6 (1)
 
Introduction to Visual Basic 6.0 Fundamentals
Introduction to Visual Basic 6.0 FundamentalsIntroduction to Visual Basic 6.0 Fundamentals
Introduction to Visual Basic 6.0 Fundamentals
 
Mca 504 dotnet_unit1
Mca 504 dotnet_unit1Mca 504 dotnet_unit1
Mca 504 dotnet_unit1
 
Introduction to vb.net
Introduction to vb.netIntroduction to vb.net
Introduction to vb.net
 
Analysis Of The Original Version Of Java
Analysis Of The Original Version Of JavaAnalysis Of The Original Version Of Java
Analysis Of The Original Version Of Java
 

Recently uploaded

_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptxPoojaSen20
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 

Recently uploaded (20)

_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptx
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 

Programming basics

  • 2. TOPICS  computer program  programming  programming language  introduction to vb.net
  • 3. Computer Program - A set of instructions that directs a computer to perform tasks.
  • 4. Programming  A process of coming up with instructions that a computer can follow to do something. Or simply  Process of coming up with computer programs.
  • 5.
  • 6.
  • 12. Games
  • 14. Programming Language  A set of rules that provides a way of telling a computer what operations to perform.  Computer language
  • 15. Statements BASIC SET Balance = 500 AppleScript set balance to 500 Java balance = 500; COBOL MOVE 500 TO BALANCE
  • 16. Most Popular Coding Languages of 2015
  • 17.
  • 18.
  • 19.
  • 20.
  • 21. Why are there so many programming language?  Programming languages have evolved overtime.  Different programming languages are designed for different types of programs. Ex. Java – mobile-based applications PHP – data base applications C+ - device drivers Visual Basic/Visual Studio – quick book, word, calculator applications
  • 22. ¼ sheet of paper Quiz
  • 23. 1. A process of coming up with instructions that a computer can follow to do something. 2. A set of rules that provides a way of telling a computer what operations to perform. 3. A set of instructions that directs a computer to perform tasks. 4. Programming Language is also known as __________ 5. A programming language used for data base applications. 6. Other term for a compiler. 7. Give for application/uses of programming. (7-10)
  • 24. Advance assignment: short bond paper 1. What is IDE? 2. How to create a new project in vb.net 2010? 3. What are the different types of projects in vb.net 2010? (Compare) 4. Parts of VB 2010 Express Edition IDE
  • 25.
  • 27. 1. Define Visual Basic.NET and understand the benefits of using VB.NET; 2. Familiarize VB.Net Integrated Development Environment (IDE); 3. Create New Project and first program in VB2010 Express Edition; 4. Manifest patience in developing simple program. Objectives:
  • 28.  Is an Object-Oriented programming language designed by Microsoft. The word “Basic” is true in its meaning; VB.NET is a programming language for beginners.  OOP is a form of computer programming based on objects arranged in a branching hierarchy Microsoft® Encarta® 2009. © 1993-2008 Microsoft Corporation. All rights reserved. What is Visual Basic.NET?
  • 29.  You can create powerful Windows-based applications;  Build web-based applications;  Deployment is simplified;  Powerful, flexible, simplified data access ;  Full Object-Oriented constructs;  Mobile application. What are the benefits of Visual Basic.NET?
  • 31. Recent Projects Pane  Shows the list of projects that have been created recently.
  • 32. Get started pane  Provides some helpful tips to quickly develop application.
  • 33. Latest news pane  Provides latest online news about VB.NET 2010. It announces new releases and updates when connected via internet.
  • 34. Creating New projects in VB2010 Express Edition
  • 35.
  • 36. Types of Project in VB.NET
  • 37. Types of Project in VB.NET express edition: Windows Form Application  applications that run locally on your computers.  you can create Windows-based applications and user interfaces (UI) with this option
  • 38. …types of Project in VB.NET express edition: Console Application  applications are typically designed without a graphical user interface (GUI) and are compiled into executable file.  You interact with a console application by typing instructions at the command prompt.
  • 39. …types of Project in VB.NET express edition: Class Library  You can use the Class Library template to quickly create reusable classes and components that can be shared with other projects.
  • 40. …types of Project in VB.NET express edition: WPF Browse application  Enables you to create visually enhanced user interfaces for your applications.
  • 41. Parts of VB 2010 Express Edition IDE
  • 42. Menu Bar Like any Microsoft Application, VB2010 provides a Menu Bar that you can use to select commands for your application. File, Edit, View, Window and Help are the common Menu Options available in any Microsoft Applications while Project, Debug, Data and Tools are Menu Options which are used in VB projects.
  • 43. Tool Bar Next line below the Menu Bar is the Tool Bar which has the shortcut icons of all the commonly used commands in VB2010.
  • 44. Solution Explorer The part which contains the project files. It gives an overview of all the modules that are contained in the application and allows you to switch from different windows form.
  • 45. Tool Box It consists of the various controls that can be used to design the graphical user interfaces of the application. You can double click the items on here to draw them on the Form Designer Window or you can select from the items and draw it to the Form Designer Window.
  • 46.  A design space which contains objects or controls used for the applications. It allows GUI creation by providing the foundation for controls. Form Designer Window
  • 47.  describes the properties of the form and its controls. Lists all the properties of the object that’s currently selected and gives you the opportunity to modify them. Properties Window
  • 48.  Object Box – drop down box which displays the name of each object in the application as well as its type. Properties List – this is a listing of properties for the selected object. Properties Values – this can be changed by typing a new value or choosing from a list of predefined settings. Parts of Properties Window
  • 49.  Forms – windows that you create for user interface Controls – graphical features drawn on forms to allow user interaction (text boxes, labels, scroll bars, command buttons, etc.) forms and controls are objects. … windows application is made up of:
  • 50. Properties – Every characteristics of a form or control is specified by a property. Example properties include names, captions, size, color, position, and contents. Methods – built-in procedure that can be invoked to impart some action to a particular object. … windows application is made up of:
  • 51. Event Procedures – code related to some object. This is the code that is executed when a certain event occurs. General Procedures – Code not related to objects. This code must be invoked by the application. Modules – collections of general procedures, variable declarations, and constant definitions used by application. … windows application is made up of:
  • 52. Creating Your First VB.NET program
  • 53. Create your VB.Net program that would display on the screen ‘I miss you VB.Net’.
  • 54. 1. From the Tool Box double click the Label Control. 2. Drag the Label Control in the center of the Form Designer Window. 3. Change the property of the Label1 from the Properties Window. Select Text from the list and type Merry Christmas!. 4. Now, your application is ready to run. From the Tool Bar, select the Start Debugging Button or Press F5. Steps:
  • 55. 5. You can return from the design mode by pressing Stop Debugging Button or Ctrl + Alt + Break. 6. If you are done save your project by choosing SAVE ALL from the FILE MENU. Select the location of the file and supply the project name with RememberingVB.
  • 56. Read and study the following: 1. What are identifiers, data types, variables and operators? Assignment: Size: 8.5x11 or short bond paper No. of pages: minimum of 4 pages