Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
8th Edition
ISBN: 9781337102124
Author: Diane Zak
Publisher: Cengage Learning
Question
Book Icon
Chapter 1, Problem 1E
Program Plan Intro

Form design:

  • Open Microsoft Visual Studio.
  • Select Visual Basic and click Windows Application.
  • Name the project as “Florist Project”.
  • Store the file in desire location.
  • The created project is now display with a form in the name of Form1.
  • Rename the Form1 as “Main Form” and add the necessary components.
  • In property window, change the Form name and add changes for Form elements properties.
  • Click the File menu->Save All.

View of the form design in the IDE:

Programming with Microsoft Visual Basic 2017, Chapter 1, Problem 1E

The form control properties in the properties window are as follows:

ObjectPropertySetting
Form1TextFlorist Haven
PictureBox1ImageFlorist.png
PictureBox2ImageMessage.png
PictureBox3ImageHours.png
btnExitTextExit
  • Add three PictureBox control to show the images.
  • Add a Button control to exit the program.

Blurred answer
Students have asked these similar questions
The application must allow the user to enter the student ID. When the search button is clicked, it should open a text file with the list of students, then search for the student ID in the text file. Once the ID has been found, it should show the full student details in a textbox as shown below: Siyabonga School App Welcome to Siyabonga School Enter Student ID 0006043432 Manaane Van Der Wait 0006043432 Grade 6 Search X1ipg Eing Aing
USe 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 selected
Extra 6-1     Develop the Temperature Converter In this exercise, you’ll use radio buttons to determine whether the conversion is from Fahrenheit to Celsius or vice versa. You’ll also modify the DOM so the labels change when a radio button is clicked, and the page displays an error message when the user enters invalid data. 1. Open the application in this folder: exercises_extrach06convert_temps 2. Note that the JavaScript file has some starting JavaScript code, including the $() function, three helper functions, three event handler functions, and a DOMContentLoaded event handler that attaches the three event handlers. 3. Review how the toCelsius() and toFarhenheit() event handler functions call the toggleDisplay() helper function and pass it strings to display. Also note that the toggleDisplay() helper function and the convertTemp() event handler function are incomplete. 4. Code the toggleDisplay() function so it changes the text in the labels for the text boxes to the values in the…

Chapter 1 Solutions

Programming with Microsoft Visual Basic 2017

Knowledge Booster
Background pattern image
Similar questions
Recommended textbooks for you
Text book image
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:9781337102124
Author:Diane Zak
Publisher:Cengage Learning