Programming with Microsoft Visual Basic 2017
8th Edition
ISBN: 9781337102124
Author: Diane Zak
Publisher: Cengage Learning
expand_more
expand_more
format_list_bulleted
Question
error_outline
This textbook solution is under construction.
Students have asked these similar questions
Assignment on GUI
Create a Java Swing Application named CarShowRoom. You have to first design the UI using swing package and then write event handling code as per the following specifications.
Tasks:
Use Flow Layout
Create a combobox containing the brands of different cars such as Audi, BMW etc. Use 5 brands as per your choice in the combobox.
Create a button “show”
Create a TextArea which will initially be empty. When an item is selected from the combobox and the button “show” is pressed, that TextArea will show the number of cars of that model available, price of each car, colors available and some unique features of that car.
Every time an item is selected from the combobox, the details of this item will be appended to the previous information already showed in the textarea. The TextArea will not be refreshed.
Create another TextField which will be invisible till a car is booked (after clicking the button “book”).
Create another button “book”. When this button is clicked, the…
Input data:
Feet: User enters a number for feet
Period: User enters a number for inches
Instructions:
Create a new project and name it as yourlastname-firstname-Assignment5. Save this project in VB folder you created earlier.
Change form’s title to: Your full name – Assignment 5 - Conversion.
Form contains four Labels, two TextBoxes, and three Button controls.
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
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.
You construct a Function for this conversion. It will be placed after End Sub for btnConvert_Click.
Start…
Create an application with a form that resembles Figure 3-48. The PictureBox controls display the images of four fruits (a banana, an apple, an orange, and a pear) and each fruit’s calories. You can find these images in the Chap3 folder of the Student Sample Programs.
When the application starts, the total calories should be zero. Each time the user clicks one of the PictureBoxes, the calories for the fruit should be added to the total calories, and the total calories should be displayed. When the user clicks the Reset button, the total calories should be reset to zero.
Hello, I recently sent this question, but didn't provide images as needed. I apologize for that, I'm not sure how to upload the other three fruits (an apple, an orange, and a pear) since I can only upload two. If there is a way, please let me know. Just for clarification on this question, everytime the PictureBox (fruit) is clicked on, it will display the fruits calories on the label under "Total Calories", and…
Knowledge Booster
Similar questions
- Which property determines the initial position of a form when the application is started? a. InitialLocation b. Location c. StartLocation d. StartPositionarrow_forwardThe Paste Special dialog box offers the ____ option, which enables you to copy and paste a cell range that contains one or more blank cells where the blank cells are not pasted over any existing values in the range into which they are pasted.arrow_forward| Ice Cream Store Flavors: Scoops: Toppings: Chocolate Vanilla Cookie dough Strawberry Mint chip Mocha Cookies n cream V Sprinkles O 1 scoop O Oreos O 2 scoops O Chocolate chips O 3 scoops V Cherry syrup V Gummy worms $1.00/scoop $.50/topping Totat $3.50 Print Order Clear Exit USe Form CS Create an application consists of 1 form with 30 controls: 1 Textbox 3 Radio buttons 2 Buttons 6 Labels 1 List box 2 Group boxes or panels 5 Checkboxes Code must be written to respond to the user clicking on the buttons, radio buttons and check boxes. Project requirements: 1. when the application starts the focus must be at the flavor selection list with the first flavor selected, one scoop selected and no toppings selected and the correct total displayed 2. when the "Exit" button is clicked, the application ends 3. the total will be computed and displayed when the user makes a scoop selection and/or toppings selection. 4. when the "Clear" button is clicked, the textbox is cleared. Focus goes to the…arrow_forward
- Which property determines the initial position of a form when an application is started? a. InitialLocation b. Location c. StartLocation d. StartPositionarrow_forwardPart 1: Pseudocode and Flowchart You’ll create both pseudocode and a flowchart to design a mobile app. The app will write the device’s latitude and longitude to a file each time the device’s location changes. Part 2: GUI Design In addition to creating pseudocode and a flowchart for your app, you’ll also create a basic GUI design for your app. You can use Microsoft PowerPoint or Apache OpenOffice Impress to lay out your GUI and indicate components such as buttons, text boxes, sliders, and others. Be sure to label your GUI design with component names and indicate their properties. When you’re finished, save your GUI design as a Portable Document Format (PDF) file (*.pdf). Keep the following guidelines in mind when designing your app and GUI: Ensure you understand the problem the app needs to solve. Create storyboards (sketches of how you want to design your program). Define the classes, objects, and connections. Plan the logic. Make the interface natural, predictable, attractive, and…arrow_forwardThe purpose of this App is to create a calculator that performs thefollowing operations: Calculate Volume, Calculate Area, and CalculatePerimeter.The app should allow the user to enter Length, Width, and Height. Thenselect either Calculate Volume, Calculate Area, or Calculate Perimeterfrom a select/drop down element. Once the user clicks a button itshould calculate the selected formula and display the results.*Not all inputs are used in each function, you must account for that.The formulas are below:volume = Length * Width * Heightarea = Length * Widthperimeter = (2*Length) + (2*Width)RequirementsThe application should contain 1 page.Page 1 (single) – will contain the following inputs/controls/widgets1. An input for length2. An input for width3. An input for height4. A select/dropdown that contains the choicesarea/volume/perimeter5. A button to submit (does not need to be a “submit” button)6. A button to erase/reset all of the valuesAll calculations are to be done using JavaScript and…arrow_forward
- Q2\design a form contains shape and command buttons "what is this" such that when click on the command button the name of this shape appears in message box.arrow_forwardHow do you insert a new control into a form while you're making a new form?arrow_forwardThe _________ property causes a control to be positioned directly against one of the form’s edges.arrow_forward
- When you drag a field object to an existing control in the interface, Visual Basic replaces the existing control with a new control.a. True b. Falsearrow_forwardWhen the contents of a text box change, the text box’s event occurs.a. ChangedTextb. ModifiedTextc. TextModifiedd. TextChangedarrow_forwardUSe Form CS Create an application consists of 1 form with 30 controls: 1 Textbox 3 Radio buttons 2 Buttons 5 Checkboxes Code must be written to respond to the user clicking on the buttons, radio buttons and check boxes. Project requirements: 1. when the application starts the focus must be at the flavor selection list with the first flavor selected, one scoop selected and no toppings selected and the correct total displayed 2. when the "Exit" button is clicked, the application ends 3. the total will be computed and displayed when the user makes a scoop selection and/or toppings selection. 4. when the "Clear" button is clicked, the textbox is cleared. Focus goes to the listbox.. The first flavor is selected, one scoop is selected and no toppings are selected and the correct total is displayed 5. the total dollar amount must be formatted as currency 6. allow multiple flavors to be selected 7. the otal will times be an eflect the ber of scoops and toppings as they are selectedarrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Programming with Microsoft Visual Basic 2017Computer ScienceISBN:9781337102124Author:Diane ZakPublisher:Cengage Learning
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:9781337102124
Author:Diane Zak
Publisher:Cengage Learning