Create an application, Visual Basic Programming

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.

Posted Date: 3/1/2013 7:34:01 AM | Location : United States







Related Discussions:- Create an application, Assignment Help, Ask Question on Create an application, Get Answer, Expert's Help, Create an application Discussions

Write discussion on Create an application
Your posts are moderated
Related Questions
For reason of readability & consistency, employ the following prefixes along with descriptive names for variables in your VBScript code. S ub type Prefi

THE PRECOMPILED HEADER FILE As soon as you generate a blank project, ahead of doing any coding you compile the project to generate .pch (that is the pre compiled header) file a

In your code A, Function has to always be used on the right side of a variable assignment or in an expression. For illustration: Temp = Celsius(fDegrees) or Msg Box "The C

Explain difference, Generic Variable: Create Object Ex:-Ole-Automation . No need refer the object library. What is Specific Variable: Binding Procedure Early & Late Binding ( Can

Enabling ODBC: 1. Select the control panel, programs, setting and then ODBC32 2. Double click on the ODBC32 3. The Settings for an operating system will take place. 4

Create the flowcharts using MS Visio, MS Excel or MS Word to demonstrate the algorithm. Submit your flowchart under the assignment for CH7-4-26 Flowchart. Part Printouts H

Do Until Loop Statement: The statements within the do...until loop block executes till the condition given in until become true. The working of do...until loop is elaborated w

The View: The view is used for visualising. For illustration, while performing word processing, the user works on a sequence of words which compose the text. If a user is perf

1.   Make project in Visual Studio 2008. 2.   Controller Class is used for functioning. 3.   Login Form where three people can login like manager, staff and receptionist we c

FEATURES OF USER INTERFACE DESIGN The features like how will the software's are used? Who will be the users? What will be the life of the software? During its lifetime how ofte