Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

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.

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M92490963
  • Price:- $30

Priced at Now at $30, Verified Solution

Have any Question?


Related Questions in Computer Engineering

Question research some of the issues engineering managers

Question: Research some of the issues engineering managers must consider when deciding on the best door hardware for the most cost-effective security for their facility. Write a minimum of 1 page(title abstract, body, co ...

You have 2 tasks to createer-modeling in ms visio simple

You have 2 tasks to createER-Modeling in MS visio. Simple jab for the database expert that would take him 30 min to finish. My requirement not only for the expert to get the task done. I need to do it myself. Then he cor ...

Question sql is often presented a a single database

Question : SQL is often presented a a single database language, but some contend that it is a set of languages. Which is it, why do you say so?, Why is that important for you to understand? Support your answers. The resp ...

Do you need computers or information and communication

Do you need computers or information and communication technologies to store, organize, and manage data in organizations? Explain how the present day organizations in a developed country like the USA store and manage the ...

In 2005 team dad used a toyota truck with a system of

In 2005, Team DAD used a Toyota truck with a system of spinning lasers as its "visual" system. What advantages and or disadvantage does such a system have compared to camera-based systems?

Assume that the pizza market consists of two firms conans

Assume that the pizza market consists of two firms, Conan's and Pizza Hut. The price of a Conan pizza is denoted by Pc and the price of a Pizza Hut Pizza is P h.  Both sellers have a marginal cost of $5 for another pizza ...

Discuss why a financial services organization would benefit

Discuss why a financial services organization would benefit from using one framework over another (COSO, COBIT,) -- choose a framework or frameworks that in your opinion would be most ideally suited for such an organizat ...

Question shuffling a linked list design a divide and

Question : Shuffling a linked list. Design a divide and conquer algorithm that randomly shuffles a linked list in O(nlog(n)) time and logarithmic extra space. The response must be typed, single spaced, must be in times n ...

Can someone right the code for hangman in java the game

Can someone right the code for Hangman in java. The game would start off by asking the user if they were playing 1 person or two person hangman. If the user said 1 person then the game would print the spaces for the word ...

Question suppose that new more powerful arithmetic

Question : Suppose that new, more powerful arithmetic instruction are added to the instruction set. On average, through the use of these more powerful arithmetic instructions, we can reduce the number of arithmetic instr ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As