Run the application

Assignment Help Programming Languages
Reference no: EM13933238

8.1 1 (Enhanced Dental Payment Application) Modify the Dental Payment application from this tutorial to include additional

services. Add the proper func- tionality (using If... Then statements) to determine whether any of the new CheckBoxes are

selected, and, if so, add the price of the service to the total bill. Display an error message in a dialog if the user selects the

Other CheckBox but does not specify a price for the service.

a) Copying the template to your working directory. Copy the directory C: Exampl es Tutori al 08Exerci sesDental

PaymentEnhanced to your C: Si mpl yVB2008 directory.

b) Opening the application's template file. Double click Dental PaymentEn- hanced. sl n in the Dental PaymentEnhanced

directory to open the application.

c) Adding CheckBoxes, Labels and a TextBox. Add two CheckBoxes and two Label s to the Form. The new CheckBoxes should

be labeled Fluoride and Root Canal, respec- tively. Add these CheckBoxes and Label s beneath the X-Ray CheckBox and its

price Label . The price for a fluoride treatment is $50; the price for a root canal is $800. Add a CheckBox labeled Other and a

Label containing a dollar sign ($) to the Form, as shown in Fig. 8.25. Then add a TextBox to the right of the $ Label in which

the user can enter the cost of the service performed.

d) Modifying the Click event handler code. Add code to the cal cul ateButton_Cl i ck event handler to determine whether the

new CheckBoxes have been selected. This can be done by modifying the compound condition in the first If... Then statement

in the event handler. Add an El seIf clause to determine if the user selected the Other CheckBox but did not specify a price? if

so, display an error message in a dialog. Also, use If... Then statements to update the bill amount.

e) Running the application. Select Debug > Start Debugging to run your application. Test your application by checking one or

more of the new services. Click the Calcu-late Button and verify that the proper total is displayed. Test the application again by

checking some of the services, then checking the Other CheckBox and entering a dol- lar value for this service. Click the

Calculate Button and verify that the proper total is displayed, and that it includes the price for the "other" service.

f) Closing the application. Close your running application by clicking its close box.

g) Closing the IDE. Close the Visual Basic IDE by clicking its close box.

Attachment:- Tutorial08[1].zip

Reference no: EM13933238

Questions Cloud

How are ogive curves used in reclassification of data : What are ogive curves? How are they used in reclassification of data? "Graphs and diagrams are more effective than any other method of presenting data." Why?
Topic of general interest and to clearly express : The "Analyze an Issue" task assesses your ability to think critically about a topic of general interest and to clearly express your thoughts about it in writing. Each Issue topic makes a claim that can be discussed from various perspectives and ap..
Difference in practitioner-scholar and scholar practitioner : What is the difference between "Practitioner-Scholar" and "Scholar Practitioner"? In your own words, what does it mean to be a ("Practitioner-Scholar") within the field of psychology?
Show that with the proper stiffness k of the spring : The spring is compressed by the rod which is pinned to the lower end of the door and which passes through the swivel block at B. When () = 0, the spring is undeformed. Show that with the proper stiffness k of the spring, the door will be in equili..
Run the application : Running the application. Select Debug > Start Debugging to run your application. Test your application by checking one or more of the new services.
How do you represent data by means of a pie diagram : Discuss the merits and Imitations of representing statistical data through graphs and diagrams. How do you represent data by means of a pie diagram?
Fictional media release : The fictional media release information is provided in this unit outline. Note that a media release ideally contains news or a newsworthy story and not just pure public relations messages.
Why is important for team members to know their roles : Case One: ElectriGov, answer the following questions: Why is it important for an organization to have a mission? Why is it important for team members to know their roles on a team
Design the physical layout of the school : Design the physical layout of the school - that is, provide a map of the school. You should consider a layout and design for the classrooms and school buildings that takes into account the information provided in the scenario and that is coherent ..

Reviews

Write a Review

Programming Languages Questions & Answers

  Write program which prompts user to enter length in feet

Create and execute the program for this exercise. Write down the program which prompts user to enter length in feet and inches and outputs equivalent length in centimeters.

  A text string using prompt

A text string, using prompt, either"valid name" or "invalid name",depending on whether the input names fit the required format, which is Last name, first name, middle initial

  Design a program using structured pseudocode

Design a program using structured pseudocode as demonstrated in the lectures and, ensuring all variables are declared, prompt the user for the appropriate input and display a meaningful output message.

  Design psuedocode program to calculate amount

Design a psuedocode program that calculates the amount of money a person would earn over a period of time if his or her salary is one penny the first day, two pennies the second day.

  Program for insertion sort and selection sort algorithms

Write a program involving the insertion sort, merge sort and selection sort algorithms.

  How can you use a hash function

How can you use a hash function to evaluate duplicate files (even when the file name is changed) - Give the answer of given question and also provide details.

  Pseudo code for recursive function to print prime numbers

Write in pseudo code the recursive function which receive 2 integers (a and b) and returns sum of all common prime dividers (1 is not prime).

  General layout for a web-based source document

Suggest the general layout for web-based source document that prospective sellers could use to explain their antiques. Information must include the user ID, password, item, dimensions, origin, condition, and asking price.

  Write a pseudo code for efficient multiplication

A sparse matrix is a matrix populated primarily with zeros. Classical matrix multiplication is too inefficient for multiplying sparse matrices. Write a pseudo code for efficient multiplication of two sparse matrices, i-by-j matrix A and j-by-k m..

  Create the behavioral vhdl model for thirty two-bit alu

Create the behavioral VHDL model for 32-bit ALU. The ALU has 4-bit "op" control singal. Relationship between the "op" and operations of ALU.

  Create program which asks for number of fat grams

Create a program which asks for number of fat grams and calories in a food item. Validate input as follows: Make sure number of fat grams and calories are not less than 0.

  Write program to enter current value of car

Write a program that asks the user to enter the current value of a car. For a new car, it is the selling price of the car. The program should display the number of years it takes for the car's trade-in value to be below $1000.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd