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

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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