Application contains the structure statement

Assignment Help Basic Computer Science
Reference no: EM131682263

Visual Basic .NET Application - Coding Exercise 2 (Exercise 6, Zak, 2016, p. 575) An application contains the Structure statement shown here.

Structure  MyFriend 
	Public strName As String 
	Public strBirthday As String
End Structure
  • Create a VB.Net Windows Form application named MyFriend_YourName. Change the name property of your form to frmMain.
  • Add the MyFriend Structure to the public class frmMain.
  • Create 2 text boxes txtName and txtBirthday, and a button with the name property changed to btnExecute and the text property changed to Execute.
  • In the button click event, write a Dim statement that declares a five-element one-dimensional array of MyFriend variables. Name the array home.
  • Then write an assignment statement that assigns the value in the txtName control to the strName member contained in the last array element.
  • Write an assignment statement that assigns the value in the txtBirthday control to the strBirthday member contained in the last array element.
  • Output the values from the last array element to a message box in the format "Your name is Name and your birthday is Birthday." Name and Birthday are replaced with actual values from your array.
  • Set a breakpoint next to you're the Dim statement of your home array. See page 829 in your text for how to set breakpoints in VB.Net or search online.
  • Run your form, add a name and date to the respective text boxes and click the Execute button. Execution should stop at the breakpoint. Use the Debug menu or shortcut keys to step through the code. All code should execute without error.

Reference no: EM131682263

Questions Cloud

Quick layouts and chart styles : Enter a series of numbers into 2 or 3 Excel columns. You will want to use more than 1 row. Using the dummy text you entered
Planning step of software development life cycle : Discuss the roles and responsibilities of senior management in program and project planning step of software development life cycle.
Cooperation and collaboration between countries : How can cooperation and collaboration between countries be used to address / overcome cyber-attacks?
What is the average size of a city in the country : What is the average size of a city in the country? (This is the arithmetic mean of the populations of the cities, and is also the expected value)
Application contains the structure statement : Visual Basic .NET Application - Coding Exercise 2 (Exercise 6, Zak, 2016, p. 575) An application contains the Structure statement shown here.
Which option has the highest expected value : Same as the previous option, except not using his lifeline on the 10th question, and instead applying it to the 11th question.
Discuss the massive use of poisons in the environment : harmony and bliss before the fall into the massive use of poisons in the environment
Great humanizing factor : Isaac Asimov said, "The computer is a great humanizing factor because it makes the individual more important.
Running for senior class president : At Jackson High School, this year, three students are running for senior class president: Tyler Tompkins, Kate Gonzo, and John Chang.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Conduct testing on the paper prototype

Continuing with the detailed project from W3 Assignment 2, where you documented user goals, this week, you will develop a paper prototype for the design of your proposed application, which can be tested. The prototype should demonstrate the follow..

  Market system and a centrally-planned system

Explain the major differences between a free market system and a centrally-planned system.

  Write command to determine users on active directory from xp

Write down the command to determine all users on Active Directory from XP. Write down the query to look up a user on Active Directoy and see the user's property.

  Evaluate e x using the built-in exponential function

Show all steps of the developing expansion on separate rows. Also, evaluate e x using the built-in exponential function.

  Apply the headings style to the remaining column headings

Change the font and font size for the text in rows 8 and 9. You determine the font and size.

  Design an equation with these variables

Have the computer do it once without parentheses, and then add parentheses to the equation and try it again. Are the answers the same? If not, why not?

  What is a subtype discriminator? give an example of its use

What is a subtype discriminator? Give an example of its use.

  Determines whether the character is an uppercase letter

The character just entered is an uppercase letter. If the entered letter isn't uppercase, display the message The character just entered is not an uppercase letter.

  Determine the size of data register

If the computer in this exercise uses the same size word for data and instructions determine the size of each data register? What is the size of the instruction register.

  Define the classes of message authentication function

What is message authentication? Define the classes of message authentication function. What you meant by MAC?

  Write a routine to display a pie chart

Each section label is to be displayed outside the boundary of the pie chart near the corresponding pie section.

  Students with the multiple collaboration tools available

The purpose of this assignment is to familiarize students with the multiple collaboration tools available.

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