ComputerScienceExpert

(11)

$18/per page/

About ComputerScienceExpert

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Applied Sciences,Calculus See all
Applied Sciences,Calculus,Chemistry,Computer Science,Environmental science,Information Systems,Science Hide all
Teaching Since: Apr 2017
Last Sign in: 103 Weeks Ago, 3 Days Ago
Questions Answered: 4870
Tutorials Posted: 4863

Education

  • MBA IT, Mater in Science and Technology
    Devry
    Jul-1996 - Jul-2000

Experience

  • Professor
    Devry University
    Mar-2010 - Oct-2016

Category > Programming Posted 26 Apr 2017 My Price 8.00

Name the project Buttons.

you create a Windows application with two button controls, one to perform math on two integer numbers, and one to concatenate two strings. Follow the instructions in the book, with these changes.

 

1)     Name the project Buttons.

2)     In the Solution Explorer, rename Form1.vb to Buttons.vb (if asked, rename all the items in the project from Form1 to Buttons).

3)     Change the Text property of the form to your name.

4)     Create the first button. Changes its name to btnAdd and change the Text property to Add Integers. Code the button so that it declares two Integer variables, sets their values to 27 and 55, adds them, and displays them in a message box that says “The sum of the two numbers is: ”, followed by the sum of the numbers. The caption of the message box should be your name (see the second screen shot below).

5)     Make the Text property of the second button Concatenate Strings, and make the button wide enough to display the full text. Code the button so that it declares two String variables, sets their values to “Hello, ” and “World!”, concatenates them, and displays them in a message box that says “The two strings concatenated are: ”, followed by the concatenated string. The caption of the message box should be your name (see the third screen shot below).

6)     When it runs correctly, close Visual Basic, use Windows Explorer to find the top level folder of the project (Buttons), right-click the folder, and select Send To / Compressed ZIP Folder to zip the file. Submit the ZIP file along with this document for grading.

 

(SAMPLE SCREEN SHOTS)

 

  

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ASSIGNMENT PART 2:

 

The last part of the lab assignment is to complete the design of the DroneDogs Order Form below by entering names for the controls on the screen form, using Hungarian Notation. You can find the Hungarian Notation prefixes in Chapter 1 of the Visual Basic textbook, in Table 1.1 in the subsection “Modified Hungarian Notation”, which is inside the section “Creating a Simple Application”.

 

The order form for DroneDogs is displayed below. Each of the controls has an identifying letter. Using your Hungarian Notation prefixes from the table in the textbook and your knowledge of variable naming, type the name you would assign to each control. Note: the DroneDogs logo is in a picture box.

 

 

 

Enter the control name you would assign, using Hungarian Notation:

 

A:  

B:  

C:  

D:  

E:  

F:  

G: 

H:  

I:  

J:  

K:  

L:  

M:  

N:  

O:  

P:  

 

 

Answers

(11)
Status NEW Posted 26 Apr 2017 06:04 AM My Price 8.00

-----------

Not Rated(0)