SlideShare a Scribd company logo
1 of 12
Introduction to Programming


            VB.NET
                &
        Visual Studio 2008


                              1
Questions
What is Computer Programming?



What are Programming Languages?



What are Programming Tools?

                                  2
We will use
 VB.Net

 Microsoft
 Visual
 Studio
 2008




              3
Getting Started
File, New
 Project


    OR
Create New
  Project




                               4
Create New Application
                                    Select Windows
                                    Forms Application




                                                 Find a place to save
                                                 your project (USB pen or
Give project a                                   desktop
descriptive name                                 if H:drive not shown)




                   Make sure this
                   is ticked
                                                                         5
Visual Studio Workspace




                          6
The Bouncing Picturebox
Download the Images.zip file and unzip to
your program folder
Carefully follow the instructions on: The
Bouncing Picturebox Worksheet
Read each line of code and make sure you
know what it does
Attempt the extra tasks at the end of the
worksheet

                                            7
Programming Concepts
A Timer – repeatedly executes code at
intervals



A (Sub) Procedure– is a set of code statements




                                                 8
Concepts
Variables – to store values
  Dim variable As datatype



Conditional Statements
  If ... Then




                              9
Form Co-ordinates

 Location = 50, 100


Just like a graph in
maths, the VB.NET
form uses the X and Y
‘co-ordinates’ system
so we can say where
we want to place an
object
The unit used is the
pixel


                                10
Form Co-ordinates
                                   X = 600

             0,0       600,0

Unlike a maths
graph, the point 0,0
is at the top left.
The form size has
been set to 600
wide and 500 deep




         Y = 500
                               600,500
                                             11
Developing the Game:
Ideas?

Investigate:
  Adding a Score
  Adding a time limit



                           12

More Related Content

Similar to Introduction to VB.NET and Visual Studio 2008 programming

C# Summer course - Lecture 1
C# Summer course - Lecture 1C# Summer course - Lecture 1
C# Summer course - Lecture 1mohamedsamyali
 
Oop c sharp_part_1
Oop c sharp_part_1Oop c sharp_part_1
Oop c sharp_part_1shivaksn
 
iPhone Programming [1/17] : Objective-C
iPhone Programming [1/17] : Objective-CiPhone Programming [1/17] : Objective-C
iPhone Programming [1/17] : Objective-CIMC Institute
 
Class 27: Pythonic Objects
Class 27: Pythonic ObjectsClass 27: Pythonic Objects
Class 27: Pythonic ObjectsDavid Evans
 
Visual Basic 2008 In 24 Hrs
Visual  Basic 2008 In 24 HrsVisual  Basic 2008 In 24 Hrs
Visual Basic 2008 In 24 HrsUiTM
 
Unity - Essentials of Programming in Unity
Unity - Essentials of Programming in UnityUnity - Essentials of Programming in Unity
Unity - Essentials of Programming in UnityNexusEdgesupport
 
Lotusphere 2007 AD507 Leveraging the Power of Object Oriented Programming in ...
Lotusphere 2007 AD507 Leveraging the Power of Object Oriented Programming in ...Lotusphere 2007 AD507 Leveraging the Power of Object Oriented Programming in ...
Lotusphere 2007 AD507 Leveraging the Power of Object Oriented Programming in ...Bill Buchan
 
Hands-On Lab Data Mining - SQL Server
Hands-On Lab Data Mining - SQL ServerHands-On Lab Data Mining - SQL Server
Hands-On Lab Data Mining - SQL ServerSerra Laercio
 
Review  your Learning Team Assignment Instructions found in We.docx
Review  your Learning Team Assignment Instructions found in We.docxReview  your Learning Team Assignment Instructions found in We.docx
Review  your Learning Team Assignment Instructions found in We.docxcarlstromcurtis
 
conceptsinobjectorientedprogramminglanguages-12659959597745-phpapp02.pdf
conceptsinobjectorientedprogramminglanguages-12659959597745-phpapp02.pdfconceptsinobjectorientedprogramminglanguages-12659959597745-phpapp02.pdf
conceptsinobjectorientedprogramminglanguages-12659959597745-phpapp02.pdfSahajShrimal1
 
BP204 Integration of OpenOffice.org and IBM Lotus Notes and Domino
BP204 Integration of OpenOffice.org and IBM Lotus Notes and Domino BP204 Integration of OpenOffice.org and IBM Lotus Notes and Domino
BP204 Integration of OpenOffice.org and IBM Lotus Notes and Domino John Head
 
python workshop(one of the 15 chapters)
python workshop(one of the 15 chapters)python workshop(one of the 15 chapters)
python workshop(one of the 15 chapters)Mehul shah
 

Similar to Introduction to VB.NET and Visual Studio 2008 programming (20)

Hello world ios v1
Hello world ios v1Hello world ios v1
Hello world ios v1
 
C# Summer course - Lecture 1
C# Summer course - Lecture 1C# Summer course - Lecture 1
C# Summer course - Lecture 1
 
Oop c sharp_part_1
Oop c sharp_part_1Oop c sharp_part_1
Oop c sharp_part_1
 
iPhone Programming [1/17] : Objective-C
iPhone Programming [1/17] : Objective-CiPhone Programming [1/17] : Objective-C
iPhone Programming [1/17] : Objective-C
 
Class 27: Pythonic Objects
Class 27: Pythonic ObjectsClass 27: Pythonic Objects
Class 27: Pythonic Objects
 
Visual Basic 2008 In 24 Hrs
Visual  Basic 2008 In 24 HrsVisual  Basic 2008 In 24 Hrs
Visual Basic 2008 In 24 Hrs
 
Unity - Essentials of Programming in Unity
Unity - Essentials of Programming in UnityUnity - Essentials of Programming in Unity
Unity - Essentials of Programming in Unity
 
Lotusphere 2007 AD507 Leveraging the Power of Object Oriented Programming in ...
Lotusphere 2007 AD507 Leveraging the Power of Object Oriented Programming in ...Lotusphere 2007 AD507 Leveraging the Power of Object Oriented Programming in ...
Lotusphere 2007 AD507 Leveraging the Power of Object Oriented Programming in ...
 
Citibank
CitibankCitibank
Citibank
 
XCode8.0
XCode8.0XCode8.0
XCode8.0
 
Vb 6ch123
Vb 6ch123Vb 6ch123
Vb 6ch123
 
Hands-On Lab Data Mining - SQL Server
Hands-On Lab Data Mining - SQL ServerHands-On Lab Data Mining - SQL Server
Hands-On Lab Data Mining - SQL Server
 
Review  your Learning Team Assignment Instructions found in We.docx
Review  your Learning Team Assignment Instructions found in We.docxReview  your Learning Team Assignment Instructions found in We.docx
Review  your Learning Team Assignment Instructions found in We.docx
 
conceptsinobjectorientedprogramminglanguages-12659959597745-phpapp02.pdf
conceptsinobjectorientedprogramminglanguages-12659959597745-phpapp02.pdfconceptsinobjectorientedprogramminglanguages-12659959597745-phpapp02.pdf
conceptsinobjectorientedprogramminglanguages-12659959597745-phpapp02.pdf
 
BP204 Integration of OpenOffice.org and IBM Lotus Notes and Domino
BP204 Integration of OpenOffice.org and IBM Lotus Notes and Domino BP204 Integration of OpenOffice.org and IBM Lotus Notes and Domino
BP204 Integration of OpenOffice.org and IBM Lotus Notes and Domino
 
python workshop(one of the 15 chapters)
python workshop(one of the 15 chapters)python workshop(one of the 15 chapters)
python workshop(one of the 15 chapters)
 
Class 1 blog
Class 1 blogClass 1 blog
Class 1 blog
 
Introduction to Objective - C
Introduction to Objective - CIntroduction to Objective - C
Introduction to Objective - C
 
Class 1
Class 1Class 1
Class 1
 
Class 1
Class 1Class 1
Class 1
 

More from nicky_walters (20)

Design documentation
Design documentationDesign documentation
Design documentation
 
Pseudocode flowcharts
Pseudocode flowchartsPseudocode flowcharts
Pseudocode flowcharts
 
Algorithms
AlgorithmsAlgorithms
Algorithms
 
Software development lifecycle
Software development lifecycleSoftware development lifecycle
Software development lifecycle
 
Data structures vb
Data structures vbData structures vb
Data structures vb
 
Design for edp
Design for edpDesign for edp
Design for edp
 
Data types vbnet
Data types vbnetData types vbnet
Data types vbnet
 
Data types vbnet
Data types vbnetData types vbnet
Data types vbnet
 
Data types vbnet
Data types vbnetData types vbnet
Data types vbnet
 
Ndu06 typesof language
Ndu06 typesof languageNdu06 typesof language
Ndu06 typesof language
 
Ndu06 typesof language
Ndu06 typesof languageNdu06 typesof language
Ndu06 typesof language
 
Event driventheory
Event driventheoryEvent driventheory
Event driventheory
 
Simple debugging
Simple debuggingSimple debugging
Simple debugging
 
Simple debugging
Simple debuggingSimple debugging
Simple debugging
 
Debugging
DebuggingDebugging
Debugging
 
Using loops
Using loopsUsing loops
Using loops
 
Input output
Input outputInput output
Input output
 
Decisions
DecisionsDecisions
Decisions
 
Decisions
DecisionsDecisions
Decisions
 
Controls
ControlsControls
Controls
 

Introduction to VB.NET and Visual Studio 2008 programming