Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
8th Edition
ISBN: 9781337102124
Author: Diane Zak
Publisher: Cengage Learning
bartleby

Concept explainers

bartleby

Videos

Textbook Question
Book Icon
Chapter 10, Problem 2E

Open the Palace Solution.sln file contained in the VB2017\Chap10\Palace Solution folder.

  1. a. Use Windows to copy the Rectangle.vb file from the VB2017\Chap10 folder to the Palace Project folder. Then, use the Add Existing Item option on the Project menu to add the file to the project.
  2. b. Modify the Rectangle class to use Double variables rather than Integer variables.
  3. c. Change the name of the GetArea method to GetAreaSqFt.
  4. d. Add another method to the class. Use Get AreaSqYds as the method’s name. The method should calculate and return the area of a rectangle in square yards.
  5. e. The application’s Calculate button should calculate and display the number of square yards of carpeting needed to carpet a rectangular floor. Code the btnCalc_Click procedure. Display the number of yards with one decimal place. Save the solution and then start and test the application.
Blurred answer
Students have asked these similar questions
Create a folder named LastName_FirstName (ex. Reyes_Mark) in your local Create a new project named LabExer8. Set the project location to your own Construct import statements to use the packages listed below: swing awt awt.event Extend the JFrame class and implement the ActionListener Create a JMenuBar named mainBar and two (2) JMenu objects named menu1 and menu2. Set the text of menu1 as File and the text of menu2 as Event Type. Create the items that will appear in the The File menu shall contain an Exit submenu. Name the object exit. The Event Types menu shall contain two (2) submenus: Adult and Child. Name the objects adult and child, respectively. The Adult submenu shall consist of: Birthday (adultBday), Anniversary (anniv), Retirement (retirement), and Other (adultOther). The Child submenu shall consist of Birthday (childBday), and Other (childOther). Declare several other components that will be used in the Create two (2) JPanel objects named currentPanel and otherPanel.…
this is a java program code please do the code what in the question says and please follow what in the question says and dont copy or plagarise from other sources
Add three files of any type you choose—for example, word-processing documents,spreadsheets, or pictures.Create a new folder named test inside folder data and move your third file in this folder.Write an application that determines whether the first two files are located in the same folderas the third one. Test the program when the files are in the same folder (before moving thirdfile in test folder) and when they are not (after moving third file in test folder).Save the file as CompareFolders.java.Submit the data folder zipped along with CompareFolders.java.HINT: Use try/catch block, path class and its methods.Run a loop to check the name count.Output will look like: -Path for file1 is C:\Users\<your file path>\Lab9\TestData1.txtPath for file2 is C:\Users\<your file path>\Lab9\TestData2.txtPath for file3 is C:\Users\<your file path>\Lab9\TestData3.txtAll files are in the same folderPath for file1 is C:\Users\<your file path>\Lab9\TestData1.txtPath for file2 is…
Knowledge Booster
Background pattern image
Computer Science
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:9781337102124
Author:Diane Zak
Publisher:Cengage Learning
Text book image
Microsoft Visual C#
Computer Science
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Cengage Learning,
Introduction to Classes and Objects - Part 1 (Data Structures & Algorithms #3); Author: CS Dojo;https://www.youtube.com/watch?v=8yjkWGRlUmY;License: Standard YouTube License, CC-BY