Create an application, Visual Basic Programming

Assignment Help:

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.


Related Discussions:- Create an application

Visual Basic 2010 by Julia Case Bradley and Anita C. Millspa, - I have the ...

- I have the chapter 5 project completed already. This is due tomorrow. Modify the Very Very .Boards project from Chapter 5 to separate the user interface from the business logic.

Explain Databound Controls, Databound Controls - A controls use to display ...

Databound Controls - A controls use to display the contents of table using Data Control , have to bound each Control to the specific field and the controls are Known as the Data Bo

Option explicit declaration - data types, Option Explicit Declaration: ...

Option Explicit Declaration: If the option explicit is used essentially then all the variables will have to be declared. Or else an error will be reported saying that the vari

Displaying a file with scrolling - document class, Displaying a file With S...

Displaying a file With Scrolling: To display a file with the scrolling option allows the steps as shown below: 1. Generate a SDI application. 2. In the Step 6 of the App

Help context property, Sets or returns context ID for topic in Help File. I...

Sets or returns context ID for topic in Help File. If Help file is indicated in the VBScript Err Object HelpFile Property, the HelpContext property is utilized to display automatic

Application to count the number of possible triangles, A triangle is equila...

A triangle is equilateral if all three sides are equal, isosceles if any two (but no more than two) sides are equal, and scalene if no two sides are equal. A triangle will be input

Array Program, Would it be possible to see an example of an array program t...

Would it be possible to see an example of an array program that tracks rent in different apartment buildings and is modular?

Deleting records - data control, Deleting Records: To remove a record ...

Deleting Records: To remove a record use the Delete method. To delete the record from the customer table follow the coding as shown below: data1.RecordSource = "Customer"

The frame - document view architecture, The Frame: As the name suggest...

The Frame: As the name suggests, the frame is a combination of the building blocks, structure and the borders of an item. The frame gives the "physical" presence to a window.

How to include list box control in visual basic project, How to Include Lis...

How to Include List Box control in your project A list box is used for representing the users with a data. You can prefer the data from the list box for data entry. No editing

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd