Wyo VB Lecture Notes - Objects, Methods, & Properties

Size: px
Start display at page:

Download "Wyo VB Lecture Notes - Objects, Methods, & Properties"

Transcription

1 Wyo VB Lecture Notes - Objects, Methods, & Properties Objective #1: Use forms appropriately. A form is a basic building block of a Visual Basic project. Eventually, you'll be creating projects that consist of many forms. You'll also learn how forms can be reused to save programming time and to give more consistency to a large project. A form has number of useful properties including the Text property. The form's Text property appears in the blue title bar at the top of the form. The default value of a form's Text property is Form1. You should change that entry to something like the name of the project. The default Name property of a form is Form1. I do not recommend that you rename a form even though I do recommend that you immediately rename other objects such as labels and buttons. You can think of a form as having two basic parts, its interface and its code. The interface is what the user will see when he/she executes the program. The code is the behind-the-scenes part of the form that contains the crucial logic and code that makes the form work that way the programmer intends it to work. A form and the objects on a form are measured in pixels. The size of the pixels on your monitor depend on your computer's screen resolution settings. Popular screen resolution settings are 640 pixels by 480 pixels, 800 pixels by 600 pixels, or 1024 pixels by 724 pixels where the first number is the width of the screen and the second measurement is the height of the screen. Larger numbers of pixels in the resolution means the screen looks sharper with more detail. For now in this course, it is not recommended that you resize a form to make it fill up more of the computer screen. The Size property of a form is used to determine its size. Actually, it is the two subproperties, Height and Width, of the Size property that determine the size of the form. The Location property of a form is used with its two subproperties, X and Y, to determine the location of the upper-left corner of the form on the screen. The Load method of a form appears in the code window when you double-click anywhere on the interface of the form. Any code typed into the form's Load method executes as soon as the form is loaded. The default form of a project loads as soon as the user executes a project. Objective #2: Identify and use objects. In English class, you learn about grammar and the rules for writing sentences and paragraphs. In computer programming, we refer to this as syntax. Syntax is the set of symbols and operators that are used in Visual Basic including the period symbol, the equals symbol, double quotes, parentheses, etc. along with the rules that you must follow in order to use them correctly. Keywords are commands that are defined in Visual Basic. Examples of keywords are Public, Class, Private, Sub, and End. These words do not represent objects, properties, or methods. Rather they are defined keywords. An error will occur of course if you mispell or overlook a necessary keyword. Objects (also known as controls) are the things that make up a program. Examples of objects include forms, textboxes, buttons, labels and MessageBoxes. Objective #3: Know how to place objects such as textboxes, labels, and buttons on a form and give them proper names. Textboxes, labels, and buttons are three very useful kinds of objects to use in a VB program. There are several ways to place objects on a form. You can double-click a Toolbox icon in order to place that object on the form. You may have to drag objects around the form in order to be able to see newly created ones.

2 You can drag a Toolbox icon onto a form to place an object there. You can single-click the Toolbox icon to select it and then click and drag on the form itself to place and size an object. You should always rename objects such as buttons and labels AS SOON AS you place them on a form by typing something descriptive and appropriate in the object's Name property. For example, the default name of a button is Button1. You must not double-click the button and begin to type code in its Click method before you have renamed the button with a proper name such as btnclick. The Name property of an object should begin with a proper prefix. Label's should start with lbl, button's should start with btn, and textboxes should begin with txt. After the prefix, you must use a descriptive name for the object. If the descriptive name consists of two or more words, each word should begin with an uppercase letter so it is easier for other programmers to quickly read the name of the object. There should be no spaces or symbols in the name of an object. For example, if the purpose of a button is to clear some labels than a good name would be btnclear. If the purpose of a label is to display the directions to a game then a good name would be lbldirections or even lblgamedirections. Notice the use of an uppercase G and uppercase D. This method of naming variables is called Hungarian Notation. Good names for a button would be: btnclick btncomputeprice btnstep1 Bad names for a button would be: X because it doesn't explain the purpose of the variable ClickMe because it doesn't have a prefix btnclick because the c is not uppercase btnclickme because the m is not uppercase btncomputeprice because it is difficult to read when uppercase letters are not used btn compute price because the name includes spaces btn-compute-price because the name includes the hyphen symbol btn_compute_price because the name includes the underscore symbol btnshowmethe$ because the name includes the $ symbol A partial list of object prefixes can be found at support.microsoft.com/default.aspx?scid=kb;en-us;q even though it doesn't contain some objects such as buttons that were added to recent versions of VB. Another list is found at Objective #4: Use Click events to make a program interact with the user when he/she clicks the mouse. Visual Basic makes it easy to create event-driven programs. An event-driven program is one which responds to users' actions such as mouse clicks and mouse movement. Before the 1990's, programming languages were considered to be procedural. The programmer simply wrote lines of code that executed with a sequential flow of control. Those programs were not as interactive as modern Visual Basic event-driven ones. However, sometimes user interactivity is a hindrance to effective program execution. A useful object that is found in practically every VB project is a button. A button allows the user to interact with the VB project since it can be clicked by the user. The Text property of a button is used to present the word or short phrase that the user will be able to read on the button. When a user clicks a button a click event causes the button's Click method to execute. For example, the following method named btnexit_click causes the program to end when the user clicks this button:

3 Private Sub btnexit_click() Application.Exit() For now, until we learn about menus, you should include an Exit button in the lower-right corner of every form. To have VB create an empty button Click method, you should double-click on a button. Then you can type statements in the body of the method. Those statements will execute when the user clicks the button. A form has a Click method as well that executes when the user clicks anywhere on the form. The following method named Form1_Click causes a message box to appear but only when the form is clicked Private Sub Form1_Click() MessageBox.Show("Hi") To type the MessageBox statement into the form's Click method, it is easiest to open the code window and change the ClassName listbox at the top-left of the code window to "Form1 events" and then change the MethodName listbox at the top-right of the code window to "Click". VB will create an empty Form1_Click method that you can fill in with statements. Textboxes and labels also have Click methods that can be created similarly. Objective #5: Write assignment statements that assign values to properties. Each kind of object has its own set of properties. An object's properties affect the way it is displayed and the way that it interacts with the user and other objects. Examples of properties include Name, Text, Font, BackColor, & ForeColor. Referring to properties is tricky. You must first include the name of the object, followed by a dot operator (. ), and then the name of the property. In the statement lblhello.text = "Hello World" Text is the name of a property. It is a property of the label named lblhello. The value of the Text property is being set to the phrase "Hello World" in this statement. Setting the label's Text property to "Hello World" is called assignment. The whole statement is called an assignment statement. The equals symbol is called the assignment operator because the phrase "Hello World" is being "assigned to" the label lblhello. The phrase "Hello World" is called a string. In the statement, lblstep1.visible = True lblstep1 is the name of a label object. Visible is an example of a property. The line of code causes the label to appear on the screen by setting its Visible property to True. lblstep1.visible = False

4 would make the label go invisible since it sets the Visible property to False. lblstep1.text = "Design the interface" causes the phrase "Design the interface" to be stored in the Text property of a label named lblstep1. txtmessage.text = "Plan the code" causes the phrase "Plan the code" to be stored in the Text property of a textbox named txtmessage. lbluser.text = lblname.text causes whatever is stored in the Text property of lblname to also be displayed in the Text property of lbluser. In this case the assignment statement works from right to left with whatever is stored on the right of the equals symbol to be copied to the whatever is on the left of the equals symbol. The following statement clears a label named lblphrase lblphrase.text = "" In the statement above, using two double quotes next to each other puts nothingness into the textbox. Two double quotes next to each other is called the empty string (also known as the null string). Do not put a space between the double quotes since a space is not considered to be nothingness. When typing an online password typing extra spaces before or after the password could prevent you from logging in so spaces do count for something according to a computer. Do not confuse the Text property with the Name property of an object. The Text property usually Name property is used to refer to the object in the source code. Name properties can never have a space. Also, Name properties should begin with an appropriate prefix (e.g. lbl, btn, or txt). In the statement, lblstep1.visible = True lblstep1 is the name of a label object. Visible is an example of a property. The line of code causes the label to appear on the screen by setting its Visible property to True. lblstep1.visible = False would make the label go invisible since it sets the Visible property to False.

5 lbloutput.text = "My Name is Earl" causes the phrase "My Name is Earl" to be stored in the Text property of a label named lbloutput. Notice that you normally find the object being named followed by the dot operator and then the property followed by an equals symbol and then the value that is being stored in the object's property as in lblstep1.visible = True An error occur if you type it backwards like this True = lblstep1.visible Sample exercises in which you have to write an assignment statement Make a label named lblstep2 become invisible. Answer: lblstep2.visible = False Set a label named lblstep3's Text property to the phrase "Write the code" Answer: lblstep3.text = "Write the code" Make the phrase "Design the interface" appear in a label named lblstep1 Answer: lblstep1.text = "Design the interface" Clear a label named lblstep1 so that nothing appears in its Text property. Answer: lblstep1.text = "" Clear a label named lblstep2 by setting its property to the empty string. Answer: lblstep2.text = "" Clear a label named lblstep3. Answer: lblstep3.text = "" Set lblmyname equal to whatever is currently displayed in lblyourname. Answer: lblmyname.text = lblyourname.text Display whatever is currently found in lblyourname in a label named lblmyname. Answer: lblmyname.text = lblyourname.text Objective #6: Make use of the concatenation operator. The + symbol is sometimes used as an addition operator to add two numbers like it is in mathematics. In this example lblanswer.text = The number 15 will appear in the label named lblanswer. However in other situations the + symbol is used as the concatenation operator. Concatenation occurs when you

6 join two pieces of text (also known as strings) together as in lblname.text = "Wyomissing" + "Spartans" in which case the text "WyomissingSpartans" will appear in the label named lblname. If lblname.text currently stores the name "Earl" then the statement lbloutput.text = "My Name is " + lblname.text causes the phrase "My Name is Earl" to be stored in lbloutput. However, if a number such as 5 is typed into lblnumber and the following statement executes lblanswer.text = 10 + lblnumber.text the number 15 will appear in lblanswer since the mathematical sum of 10 plus 5 is computed and stored in lblanswer. In this case, VB treats the plus symbol as an addition operator since it knows that it is surrounded by two numbers rather than pieces of text. In this example MessageBox.Show("My name is " + lblname.text) the phrase "My name is Earl" will appear in a message box if the word "Earl" is stored in lblname. In this example lbloutput.text = "Mr. " + txtname.text the phrase "Mr. Minich" will appear in the label named lbloutput if the textbox txtname stores the word "Minich". In this example MessageBox.Show("Penn" + "sylvania") the word "Pennsylvania" will appear in a message box. Study these sample exercises in which you have to write statements that use concatenation: Use the + concatenation operator to concatenate what is stored in lblschool to the end of the phrase "My school is " and display the whole thing in a message box. Answer: MessageBox.Show("My school is " + lblschool.text) Use the + concatenation operator to concatenate "Dr. " to the front of what is stored in a textbox named txtdoctor and display the whole thing in lblfullname. Answer: lblfullname.text = "Dr." + txtdoctor.text Write a line of code that concatenates the words (also known as strings), "Philadelphia" and "Eagles", and

7 stores the whole thing in a message box. Answer: MessageBox.Show("Philadelphia" + "Eagles") Objective #7: Identify and use methods. Methods are actions that a programmer can use with objects. Examples of methods include Load, Show, Click, Exit, & Clear. In the statement Application.Exit() Exit is the name of a method. This statement can be used to end the program. Notice that methods are always followed by a set of parentheses. In the statement MessageBox.Show("Hello World") Show is a method. In the statement txtuserinput.clear() Clear is the name of a method. It is a method that works with textbox objects. This statement causes the Text property of a textbox named txtuserinput to be emptied. You should be able to write out a whole method. A method always begins with a line that starts with Private Sub... and a method ends with the line of code. One or more statements are typed inside the body of a method. The body statements are indented for good style. For example, if you are asked to write a method that displays "Hello Jupiter" in a message box when a button named btnclickhere is clicked, here is the answer you should give Private Sub btnclickhere_click() MessageBox.Show("Hello Jupiter") In this class, you are not expected to write the complicated code that goes in the parentheses on the first line of the method. The name of the method is btnclickhere_click however the name of the method includes the name of the object that is being clicked (btnclickhere) followed by an underscore ( _ ) which is followed by the event (i.e. user's interaction with the computer.) If you are asked to write a method that causes the program to end when a button named btnexit is clicked, your answer would be Private Sub btnexit_click() Application.Exit() If you are asked to write a method that causes a label named lblstep1 to disappear when a button named btnclear is clicked, your answer would be Private Sub btnclear_click() lblstep1.visible = False If you are asked to write a method that causes the phrase "I attend Wyomissing Area High School" to appear in a label named lbloutput when a button named btnschool is clicked, your answer would be

8 Private Sub btnschool_click() lbloutput.text = "I attend Wyomissing Area High School" If you are asked to write a method that causes the phrase "Hello World" to show up in a message box as soon as the program is executed, your answer would be Private Sub Form1_Load() MessageBox.Show("Hello World") Notice that the event is Load since it automatically executes first when a program is started. If you are asked to write a method that displays the total cost of purchasing five items at $50 each in a label named lbltotalcost when the user clicks a button named btncompute, your answer would be Private Sub btncompute_click() lbltotalcost.text = 5 * 50 If you are asked to write a method that displays the total cost of purchasing the number of items typed into a textbox named txtinput where items at priced at $50 each and to show that total cost in a label named lbltotalcost when the user clicks a button named btncompute, your answer would be Private Sub btncompute_click() lbltotalcost.text = txtinput.text * 50 This assumes that the user types a number such as 5 into the textbox.

VARIABLES. Aim Understanding how computer programs store values, and how they are accessed and used in computer programs.

VARIABLES. Aim Understanding how computer programs store values, and how they are accessed and used in computer programs. Lesson 2 VARIABLES Aim Understanding how computer programs store values, and how they are accessed and used in computer programs. WHAT ARE VARIABLES? When you input data (i.e. information) into a computer

More information

Full file at https://fratstock.eu Programming in Visual Basic 2010

Full file at https://fratstock.eu Programming in Visual Basic 2010 OBJECTIVES: Chapter 2 User Interface Design Upon completion of this chapter, your students will be able to 1. Use text boxes, masked text boxes, rich text boxes, group boxes, check boxes, radio buttons,

More information

REVIEW OF CHAPTER 1 1

REVIEW OF CHAPTER 1 1 1 REVIEW OF CHAPTER 1 Trouble installing/accessing Visual Studio? 2 Computer a device that can perform calculations and make logical decisions much faster than humans can Computer programs a sequence of

More information

Chapter 2. Creating Applications with Visual Basic Pearson Addison-Wesley. All rights reserved. Addison Wesley is an imprint of

Chapter 2. Creating Applications with Visual Basic Pearson Addison-Wesley. All rights reserved. Addison Wesley is an imprint of Chapter 2 Creating Applications with Visual Basic Addison Wesley is an imprint of 2011 Pearson Addison-Wesley. All rights reserved. Section 2.1 FOCUS ON PROBLEM SOLVING: BUILDING THE DIRECTIONS APPLICATION

More information

Visual C# Program: Temperature Conversion Program

Visual C# Program: Temperature Conversion Program C h a p t e r 4B Addendum Visual C# Program: Temperature Conversion Program In this chapter, you will learn how to use the following Visual C# Application functions to World Class standards: Writing a

More information

Chapter 2 Visual Basic Interface

Chapter 2 Visual Basic Interface Visual Basic Interface Slide 1 Windows GUI A GUI is a graphical user interface. The interface is what appears on the screen when an application is running. A GUI is event-driven, which means it executes

More information

Computer Science 110. NOTES: module 8

Computer Science 110. NOTES: module 8 Computer Science 110 NAME: NOTES: module 8 Introducing Objects As we have seen, when a Visual Basic application runs, it displays a screen that is similar to the Windows-style screens. When we create a

More information

LESSON B. The Toolbox Window

LESSON B. The Toolbox Window The Toolbox Window After studying Lesson B, you should be able to: Add a control to a form Set the properties of a label, picture box, and button control Select multiple controls Center controls on the

More information

Class Test 3. Question 1

Class Test 3. Question 1 Class Test 3 Question 1 Create a windows forms application in CSEC that asks the user for his name and age that he/she will be this year. Calculate the year the user was born in and use a messagebox to

More information

Program and Graphical User Interface Design

Program and Graphical User Interface Design CHAPTER 2 Program and Graphical User Interface Design OBJECTIVES You will have mastered the material in this chapter when you can: Open and close Visual Studio 2010 Create a Visual Basic 2010 Windows Application

More information

Using Visual Basic Studio 2008

Using Visual Basic Studio 2008 Using Visual Basic Studio 2008 Recall that object-oriented programming language is a programming language that allows the programmer to use objects to accomplish a program s goal. An object is anything

More information

Chapter 2 Visual Basic, Controls, and Events. 2.1 An Introduction to Visual Basic 2.2 Visual Basic Controls 2.3 Visual Basic Events

Chapter 2 Visual Basic, Controls, and Events. 2.1 An Introduction to Visual Basic 2.2 Visual Basic Controls 2.3 Visual Basic Events Chapter 2 Visual Basic, Controls, and Events 2.1 An Introduction to Visual Basic 2.2 Visual Basic Controls 2.3 Visual Basic Events 1 2.1 An Introduction to Visual Basic 2010 Why Windows and Why Visual

More information

Text box. Command button. 1. Click the tool for the control you choose to draw in this case, the text box.

Text box. Command button. 1. Click the tool for the control you choose to draw in this case, the text box. Visual Basic Concepts Hello, Visual Basic See Also There are three main steps to creating an application in Visual Basic: 1. Create the interface. 2. Set properties. 3. Write code. To see how this is done,

More information

Access Forms Masterclass 5 Create Dynamic Titles for Your Forms

Access Forms Masterclass 5 Create Dynamic Titles for Your Forms Access Forms Masterclass 5 Create Dynamic Titles for Your Forms Published: 13 September 2018 Author: Martin Green Screenshots: Access 2016, Windows 10 For Access Versions: 2007, 2010, 2013, 2016 Add a

More information

Using event-driven programming Installing Visual Basic 2015 Touring the Visual Basic 2015 integrated development environment

Using event-driven programming Installing Visual Basic 2015 Touring the Visual Basic 2015 integrated development environment 1 WHAT YOU WILL LEARN IN THIS CHAPTER: Using event-driven programming Installing Visual Basic 2015 Touring the Visual Basic 2015 integrated development environment (IDE) Creating a simple Windows program

More information

Visual C# Program: Simple Game 3

Visual C# Program: Simple Game 3 C h a p t e r 6C Visual C# Program: Simple Game 3 In this chapter, you will learn how to use the following Visual C# Application functions to World Class standards: Opening Visual C# Editor Beginning a

More information

Topic Notes: Java and Objectdraw Basics

Topic Notes: Java and Objectdraw Basics Computer Science 120 Introduction to Programming Siena College Spring 2011 Topic Notes: Java and Objectdraw Basics Event-Driven Programming in Java A program expresses an algorithm in a form understandable

More information

2 USING VB.NET TO CREATE A FIRST SOLUTION

2 USING VB.NET TO CREATE A FIRST SOLUTION 25 2 USING VB.NET TO CREATE A FIRST SOLUTION LEARNING OBJECTIVES GETTING STARTED WITH VB.NET After reading this chapter, you will be able to: 1. Begin using Visual Studio.NET and then VB.NET. 2. Point

More information

Overview About KBasic

Overview About KBasic Overview About KBasic The following chapter has been used from Wikipedia entry about BASIC and is licensed under the GNU Free Documentation License. Table of Contents Object-Oriented...2 Event-Driven...2

More information

Lecture 05 I/O statements Printf, Scanf Simple statements, Compound statements

Lecture 05 I/O statements Printf, Scanf Simple statements, Compound statements Programming, Data Structures and Algorithms Prof. Shankar Balachandran Department of Computer Science and Engineering Indian Institute of Technology, Madras Lecture 05 I/O statements Printf, Scanf Simple

More information

CS130/230 Lecture 12 Advanced Forms and Visual Basic for Applications

CS130/230 Lecture 12 Advanced Forms and Visual Basic for Applications CS130/230 Lecture 12 Advanced Forms and Visual Basic for Applications Friday, January 23, 2004 We are going to continue using the vending machine example to illustrate some more of Access properties. Advanced

More information

Decision Structures. Start. Do I have a test in morning? Study for test. Watch TV tonight. Stop

Decision Structures. Start. Do I have a test in morning? Study for test. Watch TV tonight. Stop Decision Structures In the programs created thus far, Visual Basic reads and processes each of the procedure instructions in turn, one after the other. This is known as sequential processing or as the

More information

printf( Please enter another number: ); scanf( %d, &num2);

printf( Please enter another number: ); scanf( %d, &num2); CIT 593 Intro to Computer Systems Lecture #13 (11/1/12) Now that we've looked at how an assembly language program runs on a computer, we're ready to move up a level and start working with more powerful

More information

1Welcome to Visual Basic 2010

1Welcome to Visual Basic 2010 1Welcome to Visual Basic 2010 WHAT YOU WILL LEARN IN THIS CHAPTER: Using event-driven programming Installing Visual Basic 2010 A tour of the Visual Basic 2010 integrated development environment (IDE) Creating

More information

Departme and. Computer. CS Intro to. Science with. Objectives: The main. for a problem. of Programming. Syntax Set of rules Similar to.

Departme and. Computer. CS Intro to. Science with. Objectives: The main. for a problem. of Programming. Syntax Set of rules Similar to. _ Unit 2: Visual Basic.NET, pages 1 of 13 Departme ent of Computer and Mathematical Sciences CS 1408 Intro to Computer Science with Visual Basic.NET 4 Lab 4: Getting Started with Visual Basic.NET Programming

More information

Intro to Programming. Unit 7. What is Programming? What is Programming? Intro to Programming

Intro to Programming. Unit 7. What is Programming? What is Programming? Intro to Programming Intro to Programming Unit 7 Intro to Programming 1 What is Programming? 1. Programming Languages 2. Markup vs. Programming 1. Introduction 2. Print Statement 3. Strings 4. Types and Values 5. Math Externals

More information

Touring the Mac. S e s s i o n 3 : U S E A N APPLICATION

Touring the Mac. S e s s i o n 3 : U S E A N APPLICATION Touring the Mac S e s s i o n 3 : U S E A N APPLICATION Touring_the_Mac_Session-3_Jan-25-2011 1 This session covers opening an application and typing a document using the TextEdit application which is

More information

COPYRIGHTED MATERIAL. Welcome to Visual Basic 2005

COPYRIGHTED MATERIAL. Welcome to Visual Basic 2005 1 Welcome to Visual Basic 2005 The goal of this book is to help you come up to speed with the Visual Basic 2005 language even if you have never programmed before. You will start slowly and build on what

More information

You will have mastered the material in this chapter when you can:

You will have mastered the material in this chapter when you can: CHAPTER 6 Loop Structures OBJECTIVES You will have mastered the material in this chapter when you can: Add a MenuStrip object Use the InputBox function Display data using the ListBox object Understand

More information

Click File on the menu bar to view the individual menu items and their associated icons on the File menu.

Click File on the menu bar to view the individual menu items and their associated icons on the File menu. User Interface Design 387 STEP 3 Click File on the menu bar to view the individual menu items and their associated icons on the File menu. The standard File menu items (New, Open, Save, Save As, Print,

More information

Creating Web Pages with SeaMonkey Composer

Creating Web Pages with SeaMonkey Composer 1 of 26 6/13/2011 11:26 PM Creating Web Pages with SeaMonkey Composer SeaMonkey Composer lets you create your own web pages and publish them on the web. You don't have to know HTML to use Composer; it

More information

STATS 507 Data Analysis in Python. Lecture 2: Functions, Conditionals, Recursion and Iteration

STATS 507 Data Analysis in Python. Lecture 2: Functions, Conditionals, Recursion and Iteration STATS 507 Data Analysis in Python Lecture 2: Functions, Conditionals, Recursion and Iteration Functions in Python We ve already seen examples of functions: e.g., type()and print() Function calls take the

More information

MICROSOFT WORD 2010 BASICS

MICROSOFT WORD 2010 BASICS MICROSOFT WORD 2010 BASICS Word 2010 is a word processing program that allows you to create various types of documents such as letters, papers, flyers, and faxes. The Ribbon contains all of the commands

More information

Get comfortable using computers

Get comfortable using computers Mouse A computer mouse lets us click buttons, pick options, highlight sections, access files and folders, move around your computer, and more. Think of it as your digital hand for operating a computer.

More information

Fruit Snake SECTION 1

Fruit Snake SECTION 1 Fruit Snake SECTION 1 For the first full Construct 2 game you're going to create a snake game. In this game, you'll have a snake that will "eat" fruit, and grow longer with each object or piece of fruit

More information

PowerPoint Introduction. Video: Slide Basics. Understanding slides and slide layouts. Slide Basics

PowerPoint Introduction. Video: Slide Basics. Understanding slides and slide layouts. Slide Basics PowerPoint 2013 Slide Basics Introduction PowerPoint presentations are made up of a series of slides. Slides contain the information you will present to your audience. This might include text, pictures,

More information

IT3101 -Rapid Application Development Second Year- First Semester. Practical 01. Visual Basic.NET Environment.

IT3101 -Rapid Application Development Second Year- First Semester. Practical 01. Visual Basic.NET Environment. IT3101 -Rapid Application Development Second Year- First Semester Practical 01 Visual Basic.NET Environment. Main Area Menu bar Tool bar Run button Solution Explorer Toolbox Properties Window Q1) Creating

More information

A Second Visual BASIC Application : Greetings

A Second Visual BASIC Application : Greetings The Greetings Program A Second Visual BASIC Application : Greetings The following instructions take you through the steps to create a simple application. A greeting is displayed in one of four different

More information

Visual Basic.NET. 1. Which language is not a true object-oriented programming language?

Visual Basic.NET. 1. Which language is not a true object-oriented programming language? Visual Basic.NET Objective Type Questions 1. Which language is not a true object-oriented programming language? a.) VB.NET b.) VB 6 c.) C++ d.) Java Answer: b 2. A GUI: a.) uses buttons, menus, and icons.

More information

NOTES: Variables & Constants (module 10)

NOTES: Variables & Constants (module 10) Computer Science 110 NAME: NOTES: Variables & Constants (module 10) Introduction to Variables A variable is like a container. Like any other container, its purpose is to temporarily hold or store something.

More information

The Mathcad Workspace 7

The Mathcad Workspace 7 For information on system requirements and how to install Mathcad on your computer, refer to Chapter 1, Welcome to Mathcad. When you start Mathcad, you ll see a window like that shown in Figure 2-1. By

More information

COMSC-031 Web Site Development- Part 2

COMSC-031 Web Site Development- Part 2 COMSC-031 Web Site Development- Part 2 Part-Time Instructor: Joenil Mistal December 5, 2013 Chapter 13 13 Designing a Web Site with CSS In addition to creating styles for text, you can use CSS to create

More information

INTRODUCTION TO VISUAL BASIC 2010

INTRODUCTION TO VISUAL BASIC 2010 INTRODUCTION TO VISUAL BASIC 2010 Microsoft Visual Basic is a set of programming tools that allows you to create applications for the Windows operating system. With Visual Basic, even a beginner can create

More information

Start Visual Basic. Session 1. The User Interface Form (I/II) The Visual Basic Programming Environment. The Tool Box (I/II)

Start Visual Basic. Session 1. The User Interface Form (I/II) The Visual Basic Programming Environment. The Tool Box (I/II) Session 1 Start Visual Basic Use the Visual Basic programming environment Understand Essential Visual Basic menu commands and programming procedure Change Property setting Use Online Help and Exit Visual

More information

VARIABLES. 1. STRINGS Data with letters and/or characters 2. INTEGERS Numbers without decimals 3. FLOATING POINT NUMBERS Numbers with decimals

VARIABLES. 1. STRINGS Data with letters and/or characters 2. INTEGERS Numbers without decimals 3. FLOATING POINT NUMBERS Numbers with decimals VARIABLES WHAT IS A VARIABLE? A variable is a storage location in the computer s memory, used for holding information while the program is running. The information that is stored in a variable may change,

More information

Excel 2010: Basics Learning Guide

Excel 2010: Basics Learning Guide Excel 2010: Basics Learning Guide Exploring Excel 2010 At first glance, Excel 2010 is largely the same as before. This guide will help clarify the new changes put into Excel 2010. The File Button The purple

More information

LAB 2 CREATING A COMBINED PROPOSAL

LAB 2 CREATING A COMBINED PROPOSAL LAB 2 CREATING A COMBINED PROPOSAL OBJECTIVE Walk through the main steps of creating a single report that contains the contents of a number of reports (Contract, Proposal, Scope of Work, and Project Contact

More information

Barchard Introduction to SPSS Marks

Barchard Introduction to SPSS Marks Barchard Introduction to SPSS 21.0 3 Marks Purpose The purpose of this assignment is to introduce you to SPSS, the most commonly used statistical package in the social sciences. You will create a new data

More information

Welcome to Visual Basic.NET

Welcome to Visual Basic.NET 1 Welcome to Visual Basic.NET The goal of this third edition is to help you come up to speed with the Visual Basic.NET language even if you have never programmed anything before. You will start slowly,

More information

Drawing an Integrated Circuit Chip

Drawing an Integrated Circuit Chip Appendix C Drawing an Integrated Circuit Chip In this chapter, you will learn how to use the following VBA functions to World Class standards: Beginning a New Visual Basic Application Opening the Visual

More information

MULTIMEDIA TRAINING KIT INTRODUCTION TO OPENOFFICE.ORG WRITER HANDOUT

MULTIMEDIA TRAINING KIT INTRODUCTION TO OPENOFFICE.ORG WRITER HANDOUT MULTIMEDIA TRAINING KIT INTRODUCTION TO OPENOFFICE.ORG WRITER HANDOUT Developed by: Anna Feldman for the Association for Progressive Communications (APC) MULTIMEDIA TRAINING KIT...1 INTRODUCTION TO OPENOFFICE.ORG

More information

Introduction to: Computers & Programming: Review prior to 1 st Midterm

Introduction to: Computers & Programming: Review prior to 1 st Midterm Introduction to: Computers & Programming: Review prior to 1 st Midterm Adam Meyers New York University Summary Some Procedural Matters Summary of what you need to Know For the Test and To Go Further in

More information

Lecture (06) Java Forms

Lecture (06) Java Forms Lecture (06) Java Forms Dr. Ahmed ElShafee 1 Dr. Ahmed ElShafee, Fundamentals of Programming I, Introduction You don t have to output everything to a terminal window in Java. In this lecture, you ll be

More information

Barchard Introduction to SPSS Marks

Barchard Introduction to SPSS Marks Barchard Introduction to SPSS 22.0 3 Marks Purpose The purpose of this assignment is to introduce you to SPSS, the most commonly used statistical package in the social sciences. You will create a new data

More information

Full file at

Full file at Java Programming: From Problem Analysis to Program Design, 3 rd Edition 2-1 Chapter 2 Basic Elements of Java At a Glance Instructor s Manual Table of Contents Overview Objectives s Quick Quizzes Class

More information

Step by step set of instructions to accomplish a task or solve a problem

Step by step set of instructions to accomplish a task or solve a problem Step by step set of instructions to accomplish a task or solve a problem Algorithm to sum a list of numbers: Start a Sum at 0 For each number in the list: Add the current sum to the next number Make the

More information

PowerPoint 2007 Cheat Sheet

PowerPoint 2007 Cheat Sheet ellen@ellenfinkelstein.com 515-989-1832 PowerPoint 2007 Cheat Sheet Contents Templates and Themes... 2 Apply a corporate template or theme... 2 Format the slide master... 2 Work with layouts... 3 Edit

More information

VISUAL GUIDE to. RX Scripting. for Roulette Xtreme - System Designer 2.0. L J Howell UX Software Ver. 1.0

VISUAL GUIDE to. RX Scripting. for Roulette Xtreme - System Designer 2.0. L J Howell UX Software Ver. 1.0 VISUAL GUIDE to RX Scripting for Roulette Xtreme - System Designer 2.0 L J Howell UX Software 2009 Ver. 1.0 TABLE OF CONTENTS INTRODUCTION...ii What is this book about?... iii How to use this book... iii

More information

PowerPoint Slide Basics. Introduction

PowerPoint Slide Basics. Introduction PowerPoint 2016 Slide Basics Introduction Every PowerPoint presentation is composed of a series of slides. To begin creating a slide show, you'll need to know the basics of working with slides. You'll

More information

FUNctions. Lecture 03 Spring 2018

FUNctions. Lecture 03 Spring 2018 FUNctions Lecture 03 Spring 2018 Announcements PS0 Due Tomorrow at 11:59pm WS1 Released soon, due next Friday 2/2 at 11:59pm Not quite understand a topic in lecture this week? Come to Tutoring Tomorrow

More information

a child-friendly word processor for children to write documents

a child-friendly word processor for children to write documents Table of Contents Get Started... 1 Quick Start... 2 Classes and Users... 3 Clicker Explorer... 4 Ribbon... 6 Write Documents... 7 Document Tools... 8 Type with a Keyboard... 12 Write with a Clicker Set...

More information

MIDIPoet -- User's Manual Eugenio Tisselli

MIDIPoet -- User's Manual Eugenio Tisselli MIDIPoet -- User's Manual 1999-2007 Eugenio Tisselli http://www.motorhueso.net 1 Introduction MIDIPoet is a software tool that allows the manipulation of text and image on a computer in real-time. It has

More information

StudioPrompter Tutorials. Prepare before you start the Tutorials. Opening and importing text files. Using the Control Bar. Using Dual Monitors

StudioPrompter Tutorials. Prepare before you start the Tutorials. Opening and importing text files. Using the Control Bar. Using Dual Monitors StudioPrompter Tutorials Prepare before you start the Tutorials Opening and importing text files Using the Control Bar Using Dual Monitors Using Speed Controls Using Alternate Files Using Text Markers

More information

Intro. Scheme Basics. scm> 5 5. scm>

Intro. Scheme Basics. scm> 5 5. scm> Intro Let s take some time to talk about LISP. It stands for LISt Processing a way of coding using only lists! It sounds pretty radical, and it is. There are lots of cool things to know about LISP; if

More information

Spira Mirabilis. Finding the Spiral tool. Your first spiral

Spira Mirabilis. Finding the Spiral tool. Your first spiral Spira Mirabilis Finding the Spiral tool The Spiral tool is part of ShapeWizards suite called MagicBox (the other tools in the suite are Pursuit, Shell, Sphere). You can install all these tools at once

More information

Excel 2013 Part 2. 2) Creating Different Charts

Excel 2013 Part 2. 2) Creating Different Charts Excel 2013 Part 2 1) Create a Chart (review) Open Budget.xlsx from Documents folder. Then highlight the range from C5 to L8. Click on the Insert Tab on the Ribbon. From the Charts click on the dialogue

More information

Get to know Word 2007 I: Create your first document Quick Reference Card

Get to know Word 2007 I: Create your first document Quick Reference Card Get to know Word 2007 I: Create your first document Quick Reference Card Get Help To find out how to do something, click the Microsoft Office Word Help button in the upper-right corner of the window. Then

More information

Faculty Development Seminar Series Constructing Posters in PowerPoint 2003 Using a Template

Faculty Development Seminar Series Constructing Posters in PowerPoint 2003 Using a Template 2008-2009 Faculty Development Seminar Series Constructing Posters in PowerPoint 2003 Using a Template Office of Medical Education Research and Development Michigan State University College of Human Medicine

More information

Creating Breakout - Part 2

Creating Breakout - Part 2 Creating Breakout - Part 2 Adapted from Basic Projects: Game Maker by David Waller So the game works, it is a functioning game. It s not very challenging though, and it could use some more work to make

More information

What is VMware View. IMPORTANT: Connecting from Off-Campus. Connecting to View Desktops. Downloading the Client

What is VMware View. IMPORTANT: Connecting from Off-Campus. Connecting to View Desktops. Downloading the Client 1. What is VMware View 2. Connecting from Off-Campus 3. Connecting to View Desktops 4. Extra View Tips 5. What to do if something is wrong What is VMware View VMware View is a technology that allows us

More information

Visual Basic Course Pack

Visual Basic Course Pack Santa Monica College Computer Science 3 Visual Basic Course Pack Introduction VB.NET, short for Visual Basic.NET is a language that was first introduced by Microsoft in 1987. It has gone through many changes

More information

In Depth: Writer. The word processor is arguably the most popular element within any office suite. That. Formatting Text CHAPTER 23

In Depth: Writer. The word processor is arguably the most popular element within any office suite. That. Formatting Text CHAPTER 23 CHAPTER 23 In Depth: Writer The word processor is arguably the most popular element within any office suite. That said, you ll be happy to know that OpenOffice.org s Writer component doesn t skimp on features.

More information

Microsoft Word 2016 by Prapaporn Techa-angkoon adapted into English by Dr. Prakarn Unachak

Microsoft Word 2016 by Prapaporn Techa-angkoon adapted into English by Dr. Prakarn Unachak Microsoft Word 2016 by Prapaporn Techa-angkoon adapted into English by Dr. Prakarn Unachak 204100 IT AND MODERN LIFE 1. Microsoft Word 2016 Basics 2. Formatting: Font and Paragraph 3. Formatting: Layout

More information

Guide to Completing Your Senior English and Government Portfolios

Guide to Completing Your Senior English and Government Portfolios Sheridan High School s Guide to Completing Your Senior English and Government Portfolios Written by: Dave Burkhart Updated: August 24, 2014 2 Clicking on a topic or a page number will automatically take

More information

EVENT-DRIVEN PROGRAMMING

EVENT-DRIVEN PROGRAMMING LESSON 13 EVENT-DRIVEN PROGRAMMING This lesson shows how to package JavaScript code into self-defined functions. The code in a function is not executed until the function is called upon by name. This is

More information

Visual Web Development

Visual Web Development Martin Rowe, Terry Marris October 2007 Visual Web Development 7 Contact We see how users may e-mail us without exposing our e-mail address to spiders and robots that crawl through the web looking for addresses

More information

Excel Tutorial 1

Excel Tutorial 1 IT٢.we Excel 2003 - Tutorial 1 Spreadsheet Basics Screen Layout Title bar Menu bar Standard Toolbar Other Tools Task Pane Adding and Renaming Worksheets Modifying Worksheets Moving Through Cells Adding

More information

INFORMATICS LABORATORY WORK #4

INFORMATICS LABORATORY WORK #4 KHARKIV NATIONAL UNIVERSITY OF RADIO ELECTRONICS INFORMATICS LABORATORY WORK #4 MAZE GAME CREATION Associate Professor A.S. Eremenko, Associate Professor A.V. Persikov Maze In this lab, you build a maze

More information

CROMWELLSTUDIOS. Content Management System Instruction Manual V1. Content Management System. V1

CROMWELLSTUDIOS. Content Management System Instruction Manual V1.   Content Management System. V1 Content Management System Instruction Manual V1 www.cromwellstudios.co.uk Cromwell Studios Web Services Content Management System Manual Part 1 Content Management is the system by which you can change

More information

LESSON A. The Splash Screen Application

LESSON A. The Splash Screen Application The Splash Screen Application LESSON A LESSON A After studying Lesson A, you should be able to: Start and customize Visual Studio 2010 or Visual Basic 2010 Express Create a Visual Basic 2010 Windows application

More information

Learning to use the drawing tools

Learning to use the drawing tools Create a blank slide This module was developed for Office 2000 and 2001, but although there are cosmetic changes in the appearance of some of the tools, the basic functionality is the same in Powerpoint

More information

Modern Programming Languages Lecture An Introduction to SNOBOL Programming Language

Modern Programming Languages Lecture An Introduction to SNOBOL Programming Language Modern Programming Languages Lecture 9-12 An Introduction to SNOBOL Programming Language SNOBOL stands for StriNg Oriented SymBOlic Language. It is a Special purpose language for string manipulation and

More information

Introduction to MS Word XP 2002: An Overview

Introduction to MS Word XP 2002: An Overview Introduction to MS Word XP 2002: An Overview Sources Used: http://www.fgcu.edu/support/office2000/word/files.html Florida Gulf Coast University Technology Skills Orientation Word 2000 Tutorial The Computer

More information

Adobe Flash CS5. Creating a web banner. Garvin Ling Juan Santa Cruz Bruno Venegas

Adobe Flash CS5. Creating a web banner. Garvin Ling Juan Santa Cruz Bruno Venegas Adobe Flash CS5 Creating a web banner Garvin Ling Juan Santa Cruz Bruno Venegas Introduction In this tutorial, you will be guided through a step-by-step process on how to create your very own animated

More information

Basic Intro to ETO Results

Basic Intro to ETO Results Basic Intro to ETO Results Who is the intended audience? Registrants of the 8 hour ETO Results Orientation (this training is a prerequisite) Anyone who wants to learn more but is not ready to attend the

More information

Tutorial 03 understanding controls : buttons, text boxes

Tutorial 03 understanding controls : buttons, text boxes Learning VB.Net Tutorial 03 understanding controls : buttons, text boxes Hello everyone welcome to vb.net tutorials. These are going to be very basic tutorials about using the language to create simple

More information

HOUR 4 Understanding Events

HOUR 4 Understanding Events HOUR 4 Understanding Events It s fairly easy to produce an attractive interface for an application using Visual Basic.NET s integrated design tools. You can create beautiful forms that have buttons to

More information

USER GUIDE. MADCAP FLARE 2017 r3. QR Codes

USER GUIDE. MADCAP FLARE 2017 r3. QR Codes USER GUIDE MADCAP FLARE 2017 r3 QR Codes Copyright 2018 MadCap Software. All rights reserved. Information in this document is subject to change without notice. The software described in this document is

More information

Microsoft Word 2007 Tutorial CIS*1000*DE

Microsoft Word 2007 Tutorial CIS*1000*DE Microsoft Word 2007 Tutorial CIS*1000*DE Open Microsoft Word 2007 START PROGRAMS Microsoft Office 2007 OR Double click on the ICON on desktop Microsoft Word 2007 Saving your Document To save your document,

More information

Visual Basic 2008 The programming part

Visual Basic 2008 The programming part Visual Basic 2008 The programming part Code Computer applications are built by giving instructions to the computer. In programming, the instructions are called statements, and all of the statements that

More information

1. Create your First VB.Net Program Hello World

1. Create your First VB.Net Program Hello World 1. Create your First VB.Net Program Hello World 1. Open Microsoft Visual Studio and start a new project by select File New Project. 2. Select Windows Forms Application and name it as HelloWorld. Copyright

More information

GETTING STARTED WITH MICROSOFT WORD 2016

GETTING STARTED WITH MICROSOFT WORD 2016 For class, open a Blank Document. GETTING STARTED WITH MICROSOFT WORD 2016 MICROSOFT WORD PART 2 OFFICE 2016 INSERTING TEXT: Look at the document window and find the blinking cursor, this is where the

More information

Contents. Foreword. Examples of GeoGebra Applet Construction 1 A Straight Line Graph... 1 A Quadratic Graph... 6 The Scalar Product...

Contents. Foreword. Examples of GeoGebra Applet Construction 1 A Straight Line Graph... 1 A Quadratic Graph... 6 The Scalar Product... Contents Foreword ii Examples of GeoGebra Applet Construction 1 A Straight Line Graph............................... 1 A Quadratic Graph................................. 6 The Scalar Product.................................

More information

Lesson 4 - Basic Text Formatting

Lesson 4 - Basic Text Formatting Lesson 4 - Basic Text Formatting Objectives In this lesson we will: Introduce Wiki Syntax Learn how to Bold and Italicise text, and add Headings Learn how to add bullets and lists Now that you have made

More information

Python allows variables to hold string values, just like any other type (Boolean, int, float). So, the following assignment statements are valid:

Python allows variables to hold string values, just like any other type (Boolean, int, float). So, the following assignment statements are valid: 1 STRINGS Objectives: How text data is internally represented as a string Accessing individual characters by a positive or negative index String slices Operations on strings: concatenation, comparison,

More information

Alice. Coverage. Mathematical Expressions, Conditional Statements, Control Structures. Arithmetic Expressions Built-in Functions Conditional Execution

Alice. Coverage. Mathematical Expressions, Conditional Statements, Control Structures. Arithmetic Expressions Built-in Functions Conditional Execution Alice Mathematical Expressions, Conditional Statements, Control Structures Coverage Arithmetic Expressions Built-in Functions Conditional Execution If/Then Statements Control Structures Loops 1 Functions

More information

EXCEL BASICS: MICROSOFT OFFICE 2010

EXCEL BASICS: MICROSOFT OFFICE 2010 EXCEL BASICS: MICROSOFT OFFICE 2010 GETTING STARTED PAGE 02 Prerequisites What You Will Learn USING MICROSOFT EXCEL PAGE 03 Opening Microsoft Excel Microsoft Excel Features Keyboard Review Pointer Shapes

More information

SKILL AREA 210: USE A WORD PROCESSING SOFTWARE. Lesson 1: Getting Familiar with Microsoft Word 2007 for Windows...5

SKILL AREA 210: USE A WORD PROCESSING SOFTWARE. Lesson 1: Getting Familiar with Microsoft Word 2007 for Windows...5 Contents Microsoft Word 2007...5 Lesson 1: Getting Familiar with Microsoft Word 2007 for Windows...5 The Microsoft Office Button...6 The Quick Access Toolbar...6 The Title Bar...6 The Ribbon...6 The Ruler...6

More information

CST242 Windows Forms with C# Page 1

CST242 Windows Forms with C# Page 1 CST242 Windows Forms with C# Page 1 1 2 4 5 6 7 9 10 Windows Forms with C# CST242 Visual C# Windows Forms Applications A user interface that is designed for running Windows-based Desktop applications A

More information

Format your assignment

Format your assignment Introduction This workbook accompanies the computer skills training workshop. The trainer will demonstrate each skill and refer you to the relevant page at the appropriate time. This workbook can also

More information