Your Perfect Assignment is Just a Click Away

Starting at $8.00 per Page

100% Original, Plagiarism Free, Customized to Your instructions!


Visual Basics Simple Inches to Meter Calculator Programming Exercise

Visual Basics Simple Inches to Meter Calculator Programming Exercise

Question Description

Notes: Store input values into their declared variables and not usetextboxes directly in expression.

Summary: In this assignment you create a program to convert feet and inches to meter. The conversion is done with a function you write in the program and then call it.

Input data:

  • Feet: User enters a number for feet
  • Period: User enters a number for inches


  1. Create a new project and name it as yourlastname-firstname-Assignment5. Save this project in VB folder you created earlier.
  2. Change form’s title to: Your full name – Assignment 5 – Conversion.
  3. Form contains four Labels, two TextBoxes, and three Button controls.
  4. Use labels to identify Feet, Inches and Meters. See below Form Layout with Controls for more details. Note: You will use the same control Names shown below.

– Input variables:

  • Feet (Single) – TextBox, txtFeet
  • Inches (Single) – TextBox, txtInches

Output variables:

  • Meters (Single) -Label, lblMeters
  1. To convert feet and inches to meters, use this formula: (feet * 12 + inches) * 0.0254. 0.0254 is a constant value to convert English system to Metric. Make sure to declare a Constant for this literal number.
  2. You construct a Function for this conversion. It will be placed after End Sub for btnConvert_Click.
  3. Start the Function code with typing Function keyword, followed by the function name, followed by parameters, followed by function type.
  4. This Function has two parameters; feet and inches. See below for suggested program’s infrastructure.
  5. Items to note:.
  6. Variables names must follow the conventions and rules explained earlier and must have proper data type for the values that will be stored in them.
  7. Appearance of the form is very important; Make sure that your design is clean; Spelling is important.
  8. Clear button, clears TextBoxes and Label control that displays Meters.
  9. Exit button, closes the Form.
  10. You will write the code for the three buttons.
  11. Avoid double-clicking on TextBox and Label Controls to create unnecessary code. If you do, please delete them.
  12. Run the program, enter values for Feet and Inches, then click Convert button, to see the Meters equivalent displays in the Label control. See example for the complete program below.
  13. Note: If you leave TextBoxes blank when program is running, your program would crash. Avoid testing with blank TextBoxes. We will learn how to solve this problem.
  14. To save the project, from File, select Save All.
  15. Continue with SaveAll after making changes.
  16. Once project is complete, open File Explorer; open VB folder and you will see a folder named: yourlastname-firstname-Assignment5. This folder contains a folder and a solution file with SLN extension. Both are named the same. Solution file (.SLN) and the folder containing VB necessary files to run the project.

"Place your order now for a similar assignment and have exceptional work written by our team of experts, guaranteeing you A results."

Order Solution Now

Our Service Charter

1. Professional & Expert Writers: Eminence Papers only hires the best. Our writers are specially selected and recruited, after which they undergo further training to perfect their skills for specialization purposes. Moreover, our writers are holders of masters and Ph.D. degrees. They have impressive academic records, besides being native English speakers.

2. Top Quality Papers: Our customers are always guaranteed of papers that exceed their expectations. All our writers have +5 years of experience. This implies that all papers are written by individuals who are experts in their fields. In addition, the quality team reviews all the papers before sending them to the customers.

3. Plagiarism-Free Papers: All papers provided by Eminence Papers are written from scratch. Appropriate referencing and citation of key information are followed. Plagiarism checkers are used by the Quality assurance team and our editors just to double-check that there are no instances of plagiarism.

4. Timely Delivery: Time wasted is equivalent to a failed dedication and commitment. Eminence Papers are known for the timely delivery of any pending customer orders. Customers are well informed of the progress of their papers to ensure they keep track of what the writer is providing before the final draft is sent for grading.

5. Affordable Prices: Our prices are fairly structured to fit in all groups. Any customer willing to place their assignments with us can do so at very affordable prices. In addition, our customers enjoy regular discounts and bonuses.

6. 24/7 Customer Support: At Eminence Papers, we have put in place a team of experts who answer all customer inquiries promptly. The best part is the ever-availability of the team. Customers can make inquiries anytime.