Programming In Visual Basic 5'0 - PowerPoint PPT Presentation

1 / 10
About This Presentation
Title:

Programming In Visual Basic 5'0

Description:

Be sure to save your work often! Introduction to VB ... These two factors make VB the perfect programming language for a CRS course. VB ... Example. ... – PowerPoint PPT presentation

Number of Views:40
Avg rating:3.0/5.0
Slides: 11
Provided by: horto3
Category:

less

Transcript and Presenter's Notes

Title: Programming In Visual Basic 5'0


1
Programming In Visual Basic 5.0
  • Chapter 1

2
Programming
  • For most students, programming is the most
    difficult unit.
  • Programming involves the use of logic and
    mathematical skills.
  • Programming requires exceptional attention to
    detail and a great deal of patience.

3
Programming
  • It is essential that students follow directions
    closely and pay attention to all instructions.
  • Programming can be very exciting and fun but it
    can also be very frustrating if directions are
    not followed.
  • Be sure to create a VB folder on your student
    account and always save all files to this folder
    using proper naming conventions.
  • Be sure to save your work often!

4
Introduction to VB
  • Visual Basic is a third generation programming
    language. What this means is that VB is much
    closer to English than it is to machine language.
  • VB also includes a GUI ( Graphical User
    Interface) which allows users to see results
    immediately.
  • These two factors make VB the perfect programming
    language for a CRS course.

5
VB
  • The IDE, development environment.
  • Form Window
  • Project Window
  • Properties Window
  • Toolbox

6
VB
  • Visual Basic is an Object Orientated language.
  • In programming in VB, everything is an object and
    all objects have properties which describe them.
    Objects may also have methods which are actions
    that are associated with them.
  • Example. A button on a form is an object, it has
    the properties size, text , color and the
    methods on click and on mouse over.

7
Coding Projects in VB
  • 3 Step Process
  • Design the User Interface
  • Plan the Properties
  • Plan the Code- pseudocode

8
Class 1
  • Define form, control, design time , run time and
    break time.
  • What is the difference between procedural and
    event driven programming languages? What is an
    example where you may want to use each?
  • What is the file extension for a VB project and
    for a form?

9
Class 2
  • Describe what an event is.
  • What is the syntax for an event procedure? Give
    an example.
  • Why use comments? What is the syntax required for
    including comments?
  • How does VB read assignment statements? Explain
    using an example.

10
Class 3
  • Describe and give examples of the three types of
    errors.
  • What is debugging?
  • What are the naming rules associated with an
    object?
  • What is required in proper naming conventions?
Write a Comment
User Comments (0)
About PowerShow.com