Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Visual Basic Expert

1. Create a new solution file named Ch03HandsOnProject1.

2. Rename the form and set the filename of the form to frmMain and frmMain.vb, respectively.

3. Set the appropriate property so that the title bar of the form contains the text Chapter 3 - Hands-on Project 1.  Also, set the necessary property so that the form appears in the center of the desktop when the solution runs.  Set the necessary properties so that the end user cannot resize, maximize, or minimize the form.

4. Resize the form.

5. Create an instance of the PictureBox control on the form.  Refer to the completed executable version for placement and sizing.

6. Set the name of the control instance to picStopLight.

7. Set the necessary property so that the picture fills in the region of the PictureBox control instance. Set the necessary property so that a single line border surrounds the picture box.

8. Create three buttons on the form. Set the Text properties of the buttons to Go, Caution, and Stop, respectively. Create a fourth button and set its Text property to Exit.  Create hot keys for the Button control instances.

9. Set the Name property for each button using the correct prefix.  Make sure the name conveys the purpose of each control instance.

10. Using the formatting tools align the buttons and make them the same size.  Also, select all of the buttons at once and make the font bold.

11. Write the necessary statement to the exit the application when the end user clicks the Exit button.

12. Display the image named Chapter.03\Data03\Stop.ico in the object named picStopLight using the following statement.  This statement should appear in the Click event handler for the Stop button.

13. Write the necessary statements in the Click event handler for the Caution and Go buttons to display the corresponding bitmap file in the PictureBox control instance.

14. Create a ToolTip control instance on the form and name it tipGeneral.

15. In the PictureBox control instance, display the text "Image appears here" in the ToolTip.

Visual Basic, Programming

  • Category:- Visual Basic
  • Reference No.:- M9525522

Have any Question?


Related Questions in Visual Basic

Assignment virtual storeuse the concepts and scenario from

Assignment: Virtual Store Use the concepts and scenario from Assignment 1 to help "Your" Virtual Business to increase the functionality of its online shopping cart. When a customer checks out, the shopping cart must stor ...

Assignment frans virtual fruit standfrans virtual fruit

Assignment: Fran's Virtual Fruit Stand Fran's Virtual Fruit Stand is an online store that sells several types of dried fruit. Based on the needs of Fran's Virtual Fruit stand, you must design a flowchart using Visual Log ...

Please show how to do the belowvisual basic net application

Please show how to do the below: Visual Basic .NET Application - Coding Exercise 1 (Exercise 13, Zak, 2016, p. 347) For this coding exercise, write the Visual Basic code for a pretest loop that uses an Integer variable n ...

Pitch amp game design documentthe assignment is about

Pitch & Game Design Document The assignment is about educational driver for teenagers Assignment Brief: In groups you will: - present a pitch and produce a one sheet - provide a demonstration of your game - produce a hig ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As