text box. I brought this up by double clicking on the command button.

Slides:



Advertisements
Similar presentations
Microsoft® Word 2010 Training
Advertisements

Using the What Am I Template Copy the presentation to your hard drive. Open the slides using slide sorter and copy slides #3, 4 and 5 for each question.
Enter question text... 1.Enter answer text.... Enter question text... 1.Enter answer text...
Enter question text... 1.Enter answer text.... Enter question text... 1.Enter answer text...
Hawkes Software You have two options here: ∙ Purchase the boxed software at the bookstore ∙ Download this software from the Hawkes website Downloading.
Quadratic Expressions and Equations Expanding quadratic expressions using the grid method (C)
USER GUIDE TO OPEN OFFICE BY MARTIN ROCHE 11K. CONTENTS.
6 Steps of the Programming Process
Variables in Java Part 2. ICS-3M1 - Mr. Martens - Variables Part 2 Recall the “int” Data Types When you divide one integer by another – you always get.
Embedding Video in Powerpoint. Embedding Video The most important thing to know about using video in PowerPoint (and the most common mistake) is that.
Problem Create a Windows-based application that will calculate the Gross Pay earned for a worker, given the number of hours worked and hourly pay rate.
Programming Examples to Accompany Structure Topic Please use speaker notes for additional information!
1 JEOPARDY! Version __: Review for ________ 2 Topic $100 $200 $300 $400 $500 Topic.
New Project in Visual Basic Please use speaker notes for additional information!
1 Advanced Computer Programming Lab Calculator Project.
You should unzip and download the beginning programs.
Subtracting Polynomials
VAT Calculator program Controls Properties Code Results.
Visual Basic I/O Programs (ProjRead1, ProjRead2, ProjWrite1, ProjPay) Please use speaker notes for additional information!
A new way to create a Factor tree using a TI-15 calculator.
Davisware GlobalEdge 2008 Payroll Main Menu Time Entry and Payroll Processing.
LET’S PLAY JEOPARDY!! Category 1Category 2Category 3Category 4Category 5 Q $100 Q $200 Q $300 Q $400 Q $500 Q $100 Q $200 Q $300 Q $400 Q $500 Final.
Find the mistake! Here are 10 statements you will have 15 seconds to decide if the statement is right or wrong. List the numbers of the wrong statements.
PROGRAMMING IN PYTHON LETS LEARN SOME CODE TOGETHER!
Slide 1 Controls v Control naming convention –Label: lblName –Command Button: cmdName –Text Box: txtName.
“Click for Instruction “Click here to play.” If you select the correct answer, you will continue to the next question. If you the wrong answer, you will.
Kindergarten Sight Words. Yes I can! Come here Look at me.
Sorry, the pen lost control. Anyway, you need to download both the.vbp and the.frm for each project. I looked at PrCalc, I did not look at inventory.
An Overview of the Energy Reduction Calculator.  Calculates reduction in emissions for a facility Emissions computed are Carbon Dioxide, Sulfur Dioxide,
Adding Code to the Option Button. Open VB 1.Double click the Calculate button and select General from the Object list box. 2.Add the following code to.
I am using Visual Basic 6 for this class. If you want to use a different version, please contact me. Thanks!
Lesson 5 Exponentiation,Order of Operations and Error Handling.
Welcome Teachers! - WELCOME TO TEACHER WEBSITE BUILDING 101.
Troubleshooting Dashhawk Issues. Here's what you have to do to have the DashHawk run properly Go to the ACTUAL PROGRAM file (not the short cut)
Perform a complete mail merge Lesson 14 By the end of this lesson you will be able to complete the following: Use the Mail Merge Wizard to perform a basic.
Where were you when I laid the foundations of the earth? Tell Me, if you have understanding. When I fixed My limit for it, and set bars and doors; when.
Google Calendar How to create and embed it into your team page or any website.
Homework 5 Hints.
Type Subject Here (1). Type Subject Here (1) Type Subject Here (2)
Enter Title Here Created by.
This shows the user interface and the SQL Select for a situation with two criteria in an AND relationship.
Click here for the answer. Click here for the answer.
To write a Python program, you first need to open Pyscripter
Click here for the answer. Click here for the answer.
Click here for the answer. Click here for the answer.
Please use speaker notes for additional information!
And the text with form..
In this class I am using Visual Basic 6 because it is easier to work with. If you want to use a different version please contact me. Thanks!
Department Array in Visual Basic
Conditions and Ifs BIS1523 – Lecture 8.
Introduction to DOM.
Please use speaker notes for additional information!
Please use speaker notes for additional information!
Remember we are using Visual Basic 6 for this segment.
We are starting to program with JavaScript
I am opeing Access 2003 in the Microsoft Office.
This is where you can establish the name of the project and the address where it is stored - these are the defaults. If you do not enter anything, the.
A look at Small basic The Text Window 2017.
This is a template for you to use in your classroom.
We are starting JavaScript. Here are a set of examples
Passing data but infact not using the names the data was received in - I am using the names on the window.document...
If statements (Inven1, Inven2, Inven2a, Inven3, Inven3a)
Using screens and adding two numbers - addda.cbl
YOUR text YOUR text YOUR text YOUR text
I can extend written methods to
More on If statements (Calculate, Calculate1, Calculate2)
Understanding Buttons and TextBoxes
Introduction to Visual Basic 2010
Lecture Set 10 Windows Controls and Forms
Presentation transcript:

text box.

I brought this up by double clicking on the command button.

The code takes the contents or text in the txtPayHr text box and multiply it by the contents or text in the txtHours text box and then I am assigning the answer to become the contents or text in the txtPay text box.

I changed txtHours to txtHrs to test this.

Now I have changed it back to txtHours and it is working.

a mistake and did not write Then after the if condition. be asking if txtHour.text is > 40. I wrote it, said it and did not catch the error.

should be txtHours.text > 40. complete. 40 from the hours before I do the multiply.

Still have the txtPayHr.text > 40 error! Note the if, the else and the endif.

I still have the txtPayHr.text > 40 error! Notice I am naming the work areas wkReg and wkOvt.

My ERROR!

Still comparing the wrong field to 40. Error! I am then adding things together.

Still comparing the wrong thing to 40 - I really need to compare txtHours.text to 40.

I finally caught the error - but only when I ran and saw the wrong output - I was getting 1250 because the pay per hour was not great than 40 so it was doing the calculation in the else.

not allow anyone to enter data into the txtPay text box.

I am now downloading some projects and forms for the next example - you see here the projects that I downloaded.

forms - you want to click on the + to see the forms.

of code.

I am now getting ready to run the project.