Question
Membership ListUsing Visual Basic Write a menu-driven program to manage a membership list. See Fig. 9.64. Assume that the names and phone numbers of all
Membership ListUsing Visual Basic
Write a menu-driven program to manage a membership list. See Fig. 9.64. Assume that the names and phone numbers of all members are stored in alphabetical order (by last name, then by first name) in the text file MemberPhones.txt.
Each record consists of two fieldsa name field and a phone number field. The names should appear in a list box when the form is loaded. When a name is highlighted, both the name and phone number of the person should appear in the text boxes at the bottom of the form. To delete a person, highlight his or her name and click on the Delete menu item. To change either a persons name or phone number, make the corrections in the text boxes and click on the menu item Modify. To add a new member, type the persons name and phone number into the text boxes and click on the menu item Add. When the Exit menu item is clicked, the new membership list should be written to the file and the program should terminate.
Judy Langley 321-1111
Edwin Lopez 537-2987
Greg Martin 856-1893
James Murphy 259-6438
Carol Preiss 479-5523
Alice Ree 239-2201
Carlos Sanchez 809-2882
John Smith 102-3667
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started