Visual Basic .NET Application – Coding Exercise 2, programming homework help

timer Asked: Apr 14th, 2017
account_balance_wallet $10

Question description

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.
  • 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.

Assignment Deliverables:

  • The zip file containing the Visual Studio solution and project files.

Tutor Answer

School: UCLA

Here ...

flag Report DMCA

Wow this is really good.... didn't expect it. Sweet!!!!

Similar Questions
Hot Questions
Related Tags

Brown University

1271 Tutors

California Institute of Technology

2131 Tutors

Carnegie Mellon University

982 Tutors

Columbia University

1256 Tutors

Dartmouth University

2113 Tutors

Emory University

2279 Tutors

Harvard University

599 Tutors

Massachusetts Institute of Technology

2319 Tutors

New York University

1645 Tutors

Notre Dam University

1911 Tutors

Oklahoma University

2122 Tutors

Pennsylvania State University

932 Tutors

Princeton University

1211 Tutors

Stanford University

983 Tutors

University of California

1282 Tutors

Oxford University

123 Tutors

Yale University

2325 Tutors