Introduction to Programming Using Visual Basic (10th Edition)
10th Edition
ISBN: 9780134542782
Author: David I. Schneider
Publisher: PEARSON
expand_more
expand_more
format_list_bulleted
Expert Solution & Answer
Chapter 2.2, Problem 44E
Explanation of Solution
Given: Four large buttons are placed on a form.
To find: The use of the format menu for making the same size Buttons, to provide
uniform spacing between them.
Solution:
Form1 is the title of the form.
To create the Button, follow the steps given below.
Find the Toolbox option in the fly-out menu.
From there, select the option of Button. Then, drag it and drop it.
The four Buttons of different sizes are placed on the form vertically.
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
In the same way as with other controls, the characteristics of a control may influence whether or not it will be shown on the form while it is being executed.
02 - Rectangular Prisms
Prompt the user for three integers representing the sides of a rectangular prism. Calculate the surface area and volume of the prism, then draw
three rectangles of asterisks portraying the top, side, and front view of the prism labeled accordingly (which set of numbers represent each
view is at your discretion).
Enter three integers: 2 5 6
Surface Area: 104
Volume
60
Top View (2 x 5):
Side View (2 x 6):
Front View (5 x 6):
A control's visibility on the form during execution may be affected, like that of any other control, by its properties.
Chapter 2 Solutions
Introduction to Programming Using Visual Basic (10th Edition)
Ch. 2.2 - Prob. 1ECh. 2.2 - While a program is running, a control is said to...Ch. 2.2 - In Exercises 3 through 24, carry out the...Ch. 2.2 - Prob. 4ECh. 2.2 - Prob. 5ECh. 2.2 - Prob. 6ECh. 2.2 - Prob. 7ECh. 2.2 - Prob. 8ECh. 2.2 - Prob. 9ECh. 2.2 - Prob. 10E
Ch. 2.2 - Prob. 11ECh. 2.2 - Prob. 12ECh. 2.2 - In Exercises 3 through 24, carry out the...Ch. 2.2 - Prob. 14ECh. 2.2 - Prob. 15ECh. 2.2 - Prob. 16ECh. 2.2 - In Exercises 3 through 24, carry out the task. In...Ch. 2.2 - Prob. 18ECh. 2.2 - Prob. 19ECh. 2.2 - Prob. 20ECh. 2.2 - Prob. 21ECh. 2.2 - In Exercises 3 through 24, carry out the task....Ch. 2.2 - Prob. 23ECh. 2.2 - Prob. 24ECh. 2.2 - Prob. 25ECh. 2.2 - Prob. 26ECh. 2.2 - Prob. 27ECh. 2.2 - Prob. 28ECh. 2.2 - Prob. 29ECh. 2.2 - Prob. 30ECh. 2.2 - Prob. 31ECh. 2.2 - Prob. 32ECh. 2.2 - Prob. 33ECh. 2.2 - Prob. 34ECh. 2.2 - Prob. 35ECh. 2.2 - Prob. 36ECh. 2.2 - Prob. 37ECh. 2.2 - Prob. 38ECh. 2.2 - Prob. 39ECh. 2.2 - Prob. 40ECh. 2.2 - Prob. 41ECh. 2.2 - Prob. 42ECh. 2.2 - Prob. 43ECh. 2.2 - Prob. 44ECh. 2.2 - The following hands-on exercises develop...Ch. 2.2 - The following hands-on exercises develop...Ch. 2.2 - Prob. 47ECh. 2.3 - Prob. 1ECh. 2.3 - Prob. 2ECh. 2.3 - Prob. 3ECh. 2.3 - Prob. 4ECh. 2.3 - Private Sub Handles btnOutput.Click
End Sub
Ch. 2.3 - Prob. 6ECh. 2.3 - Prob. 7ECh. 2.3 - Prob. 8ECh. 2.3 - Prob. 9ECh. 2.3 - Prob. 10ECh. 2.3 - In Exercises 11 through 16, determine the...Ch. 2.3 - Prob. 12ECh. 2.3 - In Exercises 11 through 16, determine the...Ch. 2.3 - In Exercises 11 through 16, determine the...Ch. 2.3 - Prob. 15ECh. 2.3 - In Exercises 11 through 16, determine the...Ch. 2.3 - Prob. 17ECh. 2.3 - Prob. 18ECh. 2.3 - Prob. 19ECh. 2.3 - Prob. 20ECh. 2.3 - In Exercises 17 through 28, write a line (or...Ch. 2.3 - Prob. 22ECh. 2.3 - In Exercises 17 through 28, write a line (or...Ch. 2.3 - Prob. 24ECh. 2.3 - Prob. 25ECh. 2.3 - In Exercises 17 through 28, write a line (or...Ch. 2.3 - In Exercises 17 through 28, write a line (or...Ch. 2.3 - Prob. 28ECh. 2.3 - Prob. 29ECh. 2.3 - Prob. 30ECh. 2.3 - Prob. 31ECh. 2.3 - Write a simple program to demonstrate that a...Ch. 2.3 - Prob. 33ECh. 2.3 - Prob. 34ECh. 2.3 - Prob. 35ECh. 2.3 - Prob. 36ECh. 2.3 - Prob. 37ECh. 2.3 - Prob. 38ECh. 2.3 - Prob. 39ECh. 2.3 - In Exercises 39 through 44, write a program to...Ch. 2.3 - Prob. 41ECh. 2.3 - In Exercises 39 through 44, write a program to...Ch. 2.3 - Prob. 43ECh. 2.3 - In Exercises 39 through 44, write a program to...
Knowledge Booster
Similar questions
- Exercise (3-4): Create a Visual Basic project to enter an angle value (used InputBox statement). Design the program to find the value of angle (in Degrees, Minutes, and Seconds). Display Degrees, Mínutes, and Seconds in PictureBox. Pointer the controf objects are used on the form window.arrow_forwardVisual Basicarrow_forwardExercise (3-4): Create a Visual Basic project to enter an angle value (Degree, Minutes, and Seconds) into separate text boxes Design the program to find the value of angle (in degree only) as the following equation. Display Angle in separate text box. Angle= Degree + (Minutes/60) + (Seconds/3600)arrow_forward
- Debugging Exercise 1. Create a Function procedure called calculate cost that calculate the cost of an item and return that amount and prints the item and cost using a label. Using Visual Basic only.arrow_forwardAt design time, the same qualities that influence whether or not a control is shown on the form at runtime also decide whether or not a control is displayed on the form during the design phase.arrow_forwardTask: Sketch a blueprint of your dreamhouse A blueprint of your dream house should include a map of the floor plan, including details such as the number and size of rooms, as well as the location of windows, doors, and stairs. It should also include a layout of the yard, including the placement of landscaping and outdoor features. Additionally, a blueprint should include specific details about the materials and finishes that will be used.arrow_forward
- Using any languageWrite a Visual Basic project that displays a country’s flag and its capital in an output label when a button with the country’s name is clicked. After the country’s button is clicked, only that country button should still be visible (the one for the country that was chosen). When the program is first run, it should like the form on the left below, but with your name in the appropriate spot. The form on the right shows what it would look like after a user clicked on “Canada”. When the Restore button is chosen, the form should again look like the picture on the left. The Exit button works as you would expect. The form should contain five command buttons, two labels only, and three picture boxes. The three picture boxes, each containing a flag, are on top of one another, but only one should be visible at a time. For each picture box: Be sure to add the image as a local resource. Set the Size property to 100, 50 Click the Size Mode list arrow, then click StretchImage…arrow_forwardWhat happens when the mouse cursor is placed on an edge or corner of a bounding box that has size handles and the box is selected to be edited?arrow_forwardExercises: Q1/ Design a standard project has three forms with backcolors red, blue and green. Q2/ design a standard project that has one form change the name from form1 to "students" Q3/ Create a standard project with one form the name of the project "market seals" and the name of the form "stock markets" and save project on desktop with name marketing .exe Q4/ Design a standard project with four forms when running project all forms appear on screen Note :use this code in form1 (form1.show, form2.show, form3.show, form4.show)arrow_forward
- Select the correct answer from each drop- down menu. Control structures are used while performing everyday tasks. If you had to make a choice between studies and games during a holiday, you would use the sequence X control structure. If you had to fill your name and address on ten assignment books, you would use the selection X control structure.arrow_forwardVISUAL BASIC Q1 Design a project to calculate (V) according to the given equations. The user will first choose one of the three equations using a Drop -Down Menu. Then the value of V is calculated after the user inputs the required data and clicks on a command button. The number of the text boxes used in the project must not be more than 3. The number of the visible text boxes and labels, and the caption of the labels should change as required. V = F + G (Eq. 1) ...... V = (H + J)2 (Eq. 2) V = 2k (Eq. 3) Q2 Design a project to find the biggest number in three numbers by calling the subroutine Biggest twice. This subroutine determines the bigger number in two numbers.arrow_forwardAssignment Instructions Below, create a table and graph like the ones in the 'Example | Part 1' tab. Follow the steps below to do this. 2.In the 'Table Area' below, create a table with three headings with the following order: Year, Total Money Earned at Current Job, Total Money Earned at Future Job. (See 'Example | Part 1' tab) 3.In the column under year, start with the number 1 and fill the cells down to 20 years. 4.In the column under "Total Money Earned at Current Job" calculate the total amount of money Cindy will have earned by the end of each of the corresponding years. Do this by writing an equation that multiplies the year by 12 and then by the monthly earnings for that job. (See 'Multiplication' on 'Grading Sheet | Help' tab) Be sure to use a relative reference for the year and an absolute reference for the earnings number. (See 'Cell References' on 'Grading Sheet | Help' tab) Copy the equation down the column for all 20 years. 5.Do the same type of equation for the column…arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Np Ms Office 365/Excel 2016 I NtermedComputer ScienceISBN:9781337508841Author:CareyPublisher:CengageCOMPREHENSIVE MICROSOFT OFFICE 365 EXCEComputer ScienceISBN:9780357392676Author:FREUND, StevenPublisher:CENGAGE L
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:9781337508841
Author:Carey
Publisher:Cengage
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:9780357392676
Author:FREUND, Steven
Publisher:CENGAGE L