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

Vbscript error object clear method, Methods: VBScript Err Object ...

Methods: VBScript Err Object Clear Method Clears every property settings. Raise Method Generate a run-time error.

Associating toolbars for the menu - visual basic, Associating Toolbars for ...

Associating Toolbars for the menu: 1. Insert the tool bar control to your form. 2. Now follow the steps to append the tool bar control to your form. 3. Then, Right Click

Using procedure and exception handling, I was looking solution for assignme...

I was looking solution for assignment named Alamo Tour

Graphics device interface - windows programming , Graphics Device Interface...

Graphics Device Interface - GDI:   The GDI is a windows API. The GDI uses a set of generic graphics objects to draw to the screen, to the memory and printers. Therefore the p

Naming restrictions, For naming anything variable names follow the standard...

For naming anything variable names follow the standard rules in VBScript. A variable name: Should begin with an alphabetic character. Cannot have an embedded period. Sh

Input box - dialogue box in visual basic , Input Box: To demonstrate t...

Input Box: To demonstrate the use of the Input Box as shown in figure. Now consider the illustration shown below: 1. Initiate a new project 2. Select the standard exe

Use serialize function in document class to implement file, USE OF SERIALIZ...

USE OF SERIALIZE FUNCTION IN DOCUMENT CLASS TO IMPLEMENT FILE void CStoreDoc::Serialize(CArchive& ar) { if (ar.IsStoring()) { // TODO: add storing code here }

Select case - control statement, Select Case: The Select Case is used ...

Select Case: The Select Case is used for handling the multiple paths. The Select Case computes the expression and depending on the value of the equivalent Case statement execu

Displaying the database - data control, Displaying The Database: The T...

Displaying The Database: The Text box, image box, check box, labels, picture box can be bounded to the data control for exhibiting the data base contents. The two properties a

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