Visual Basic Starter Vocabulary. IDE Integrated Development Environment A setting in which programs are written, tested, debugged, etc. You could write.

Slides:



Advertisements
Similar presentations
What Was I Thinking??. Key Terms 1. Control 1. Control 2. Design Mode 2. Design Mode 3. Event 3. Event 4. Form 4. Form 5. Interface 5. Interface 6. Properties.
Advertisements

An Introduction to Visual Basic Terms & Concepts.
Introduction to Visual Basic and the VB IDE
Introduction to Visual Basic.NET Uploaded By: M.Sheraz anjum.
CS0004: Introduction to Programming Visual Studio 2010 and Controls.
Chapter 1: An Introduction to Visual Basic 2012
AA high level programming language. IIt is created by Microsoft. UUses a graphical environment called the Integrated Development Environment (IDE).
CS0004: Introduction to Programming Introduction to Programming.
Windows Programming 1 Part 1 dbg --- Getting Acquainted with Visual Studio.NET and C#
Visual Basic 2010 How to Program. © by Pearson Education, Inc. All Rights Reserved.2.
Introduction to Visual Basic Programming. Lecture Outline History What is Visual Basic First Look at the VB 6.0 Environment Some VB Terminology Our first.
CA 121 Intro to Programming Tariq Aziz and Kevin Jones GUI Programming in Visual Studio.NET Chapter 1 Tariq Aziz and Kevin Jones.
Visual Basic Project 1 IDS 306 Spring 1999 V. Murphy.
Compunet Corporation Programming with Visual Basic.NET GUI Week # 11 Tariq Ibn Aziz.
About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning.
1 An Introduction to Visual Basic Objectives Explain the history of programming languages Define the terminology used in object-oriented programming.
Objectives Machine language vs.. High-level language Procedure-oriented, object-oriented, and event- driven languages Background of Visual Basic VB Integrated.
Introduction to Visual Basic. What is Visual Basic? An environment for developing Windows applications Components –A GUI (Graphical User Interface - gooey)
Introduction To Visual Basic 6. Announcements  Thursday, Oct 9th, 7:30PM, C106 Lloyd Douglas (NSF) Diversity in Science-Who needs it? 5 extra credits.
Introduction to Visual Basic Chulantha Kulasekere.
Programming Paradigms Imperative programming Functional programming Logic programming Event-driven programming Object-oriented programming A programming.
Microsoft Visual Basic 2010: Reloaded Fourth Edition Chapter One An Introduction to Visual Basic 2010.
Slide 1 Chapter 2 Visual Basic Interface. Slide 2 Chapter 2 Windows GUI  A GUI is a graphical user interface.  The interface is what appears on the.
A First Program Using C#
Visual Basic Chapter 1 Mr. Wangler.
Microsoft Visual Basic 2005: Reloaded Second Edition
Introduction to Graphical User Interfaces. Objectives * Students should understand what a procedural program is. * Students should understand what an.
XP New Perspectives on Microsoft Office Access 2003 Tutorial 11 1 Microsoft Office Access 2003 Tutorial 11 – Using and Writing Visual Basic for Applications.
Introduction to Visual Basic. Quick Links Windows Application Programming Event-Driven Application Becoming familiar with VB Control Objects Saving and.
© 2006 Lawrenceville Press Slide 1 Chapter 3 Visual Basic Interface.
1 1 Lab1 Ismail M. Romi – IT Dept, PPU, Visual Basic 2005 Programming Tour.
1 Visual Basic Checkboxes Objects and Classes Chapt. 16 in Deitel, Deitel and Nieto.
Visual Basic 101.
PROBLEM SOLVING The first step in writing instructions to carry out a task is to determine what the output should be (What should the task produce?)
Tutorial 111 The Visual Studio.NET Environment The major differences between Visual Basic 6.0 and Visual Basic.NET are the latter’s support for true object-oriented.
Integrated Development Environment (IDE)
Irwin/McGraw-Hill © The McGraw-Hill Companies, Inc., Visual Basic Projects Project Structure and VB’s Programming Tools chapter TWO.
 Application – another name for a program.  Interface – is what appears on the screen when the application is running.  Program Code – is instructions.
Chapter One An Introduction to Visual Basic 2010 Programming with Microsoft Visual Basic th Edition.
§Visual - A method used to create GUI applications. §BASIC - Beginner’s All - purpose Symbolic Instruction Code developed by John Kemeny. §VB- Evolved.
CHAPTER TWO INTRODUCTION TO VISUAL BASIC © Prepared By: Razif Razali 1.
CC111 Lec7 : Visual Basic 1 Visual Basic(1) Lecture 7.
Microsoft Visual Basic 2005 BASICS Lesson 1 A First Look at Microsoft Visual Basic.
CS130 Project 1 A simple VB application ("project" or program): user enters amount of sales then clicks the "Calculate button", the application displays.
What is Visual Basic.NET? 110 B-1 e.g. a word processor doesn’t do anything until the user clicks on a button, types text... A programming language that.
MS Visual Basic 6 Walter Milner. VB 6 0 Introduction –background to VB, A hello World program 1 Core language 1 –Projects, data types, variables, forms,
Visual Basic CDA College Limassol Campus Lecture:Pelekanou Olga Semester C Week - 1.
CSC 157 (Blum)1 Hello World. CSC 157 (Blum)2 Start/Programs/Microsoft Visual Studio.NET 2003/Microsoft Visual Studio.NET 2003.
Visual Basic Programming Introduction VB is one of the High level language VB has evolved from the BASIC language. BASIC stands for Beginners All-purpose.
Copyright © 2010 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with Programming Logic & Design Second Edition by Tony Gaddis.
CMPF114 Computer Literacy Chapter 3 The Visual Basic Environment 1.
Microsoft Visual Basic 2008: Reloaded Third Edition Chapter One An Introduction to Visual Basic 2008.
Programming in Alice IT-IDT-9 Design, develop, test and implement programs using visual programming. 9.1 Utilize drag and drop software to develop programs.
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 2 The Visual Basic.NET Integrated Development Environment.
Microsoft Visual Basic 2012: Reloaded Fifth Edition Chapter One An Introduction to Visual Basic 2012.
Introduction To Visual Basic 6
Visual Basic.NET Windows Programming
Visual Basic Code & No.: CS 218
Introduction to Computer CC111
Chapter Topics 15.1 Graphical User Interfaces
Introduction to Visual Basic 2008 Programming
Console and GUI Programs
1. Introduction to Visual Basic
An Introduction to Visual Basic
Chapter 2 Visual Basic Interface
Visual Basic.
CIS16 Application Development Programming with Visual Basic
Hello World in Visual Basic
Building an Application in the Visual Basic .NET Environment
Presentation transcript:

Visual Basic Starter Vocabulary

IDE Integrated Development Environment A setting in which programs are written, tested, debugged, etc. You could write a C program in Notepad, compile and run by typing instructions at a command prompt But “integrated” means the various aspects are all put together

VB is RAD Visual Basic (VB) is considered a Rapid Applications Development (RAD) programming language since it makes the development of a Graphical User Interface (GUI) relatively simple When you start to program in Visual Basic (VB), you are provided with a form

Form Like a window A container (surface) for “controls” A form is an object; it has Properties Methods Events Actually the form you see is an object, but first a form is a class, then one “instantiates” an object of that class

Classes and Objects A class is an abstract category of or template for objects It collects the characteristics (properties) and actions (methods) common to the objects that belong to it An object is a specific member of the class When a specific object is made from the abstract class template, it is said to be an instantiation of the class Initially the instantiations will be automatically done for us, but eventually we will have to do some of them for ourselves.

Example Dog would be a class It has properties, like breed, height, weight, etc. It has methods, like barks, eats, runs, etc. Lassie is an object Lassie has specific properties  Her breed is Collie; her height is 36 inches; her weight is 90 pounds; etc. The collection of specific properties is also referred to as the state of the object

Property A property is like a variable; however, altering or accessing its value is usually done indirectly using a “guard” method. The CommandButton object has Height Width Position (left and top) Caption Etc.

Controls Basic interface objects instantiated on a form. For example: buttons scroll bars radio buttons menus Controls are not necessarily visible E.g. timer

Event A program detects that some action (an event) took place The event may be initiated by The user (e.g. a click) The program (e.g. a timer) The system (e.g. out of memory) If the execution of a program (what is done, when it is done, etc.) depends on events, then the programming is said to be event- driven.

Method Just as properties are variables tied to an object, methods are functions or procedures tied to an object Methods are executed when an object receives a message (a “call” plus any arguments) VB provides the shell of methods associated with certain events and objects (the click of a command button), but you can also make your own

Self-documentation Documentation is the part of a program that has no effect on its execution but is meant to make the code more understandable to another programmer or yourself at a later date Using variable names like “interest” so the variable name is directly associated with its purpose in the program

Hungarian Notation It is a useful practice in VB to start the name of control objects with standard prefixes followed by a self-documenting name For example, a Button that leads to printing when clicked might be called btnPrint A good habit is to include some capital letters when naming variables This is an example of Hungarian notation developed by Dr. Charles Simonyi