Question: In this exercise, you modify the Warren Fire Department application created in Lesson Bs Exercise 1. a. Open the VB2015Chap01Warren SolutionWarren Solution (Warren Solution.sln) file.

In this exercise, you modify the Warren Fire Department application created in Lesson B’s Exercise 1.

a. Open the VB2015\Chap01\Warren Solution\Warren Solution (Warren Solution.sln) file. If necessary, open the designer window.

b. Delete the Exit button from the form and then delete the button’s code from the Code Editor window.

c. Add a timer control to the form. Change the timer’s name to tmrExit. Set the timer’s Enabled property to True. The timer should end the application after eight seconds have elapsed; set the appropriate property. Enter the Me.Close() instruction in the appropriate event procedure in the Code Editor window.

d. Save the solution and then start the application. When eight seconds have elapsed, the application ends.

e. Add a label control to the form. Position the label below the picture box. Change the label’s Text property to “Warren Fire Department” (without the quotation marks). Change its font size to 16pt. Center the label horizontally on the form.

f. Set the form’s FormBorderStyle property to FixedSingle. Also, remove the elements (icon and buttons) and text from the form’s title bar.

g. Save the solution and then start the application. Close the Code Editor window and then close the solution.

Step by Step Solution

3.44 Rating (173 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

a g Microsoft Visual Studio Solution File Format Version 1200 Visual Studio 14 VisualStudioVersion 140220131 MinimumVisualStudioVersion 100402191 ProjectF184B08FC81C45F6A57F5ABD9991F28F Warren Project ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming with Microsoft Visual Basic 2015 Questions!