Write a windows application that gets names

Assignment Help Basic Computer Science
Reference no: EM13308368

Your mission: Write a Windows application that gets names and e-mail addresses from the user and displays a list of all of the user's contacts. Each time the user enters a new contact, he/she should able to see it added to a list of previously stored contacts. For example, in the following sample output below, after the user clicks the "Add Contact" button, the list will include John Mann's contact information at the bottom.

Note: Make sure to first create a .txt file in your project's bin/Debug folder to hold the contact info.

When designing the GUI, consider initially disabling the e-mail textbox and the button until all information is entered. Redisable them when the button is clicked. Note that you can also use the Tab Index property of GUI objects to set their order of use.

Pseudocode:

When the "Add Contact" button is clicked

Open an output file stream for appending

Write the contact's name and e-mail address to the file

Close the file stream

Clear the list

Open an input file stream for reading

Add each line of the file to the list

Close the file stream

When the form closes Close the input and output file streams

 

Reference no: EM13308368

Questions Cloud

What must ph be raised to in order to precipitate of iron : Groundwater in Taupe, Arizona, initially contains 1.8 mg/L of iron(III). What must the pH be raised to in order to precipitate 0.3 mg/L of the iron
Write a program that computes the quotient and remainder : Write a program that computes the quotient and remainder using IJVM instructions and mic1 software. Please provide IJVM instructions!
What is the effect of the following statements : what is the effect of the following statements?
What is its height of the tower on a hot day : An iron tower in is 317 meters tall on a cold day (T = -9.9 degrees Celsius). What is its height of the tower on a hot day
Write a windows application that gets names : When designing the GUI, consider initially disabling the e-mail textbox and the button until all information is entered. Redisable them when the button is clicked. Note that you can also use the Tab Index property of GUI objects to set their order..
What is the force acting on a hatch : A submarine dives to a depth of 157 feet in the ocean. What is the force (in pounds) acting on a hatch
Strategy formulation and entry strategies for multinational : 1.Strategy Formulation and Entry Strategies for Multinational Corporations (MNC)(ie internal and external factors when entering international markets).
Design a program that prompts the user to enter a string : Design a program that prompts the user to enter a string. The program should then display the number of vowels and the number of consonants in the string. I am absolutely lost and don't even know how to start, any assistance would be appreciated.
Government measures to achieve the economic performance : Conduct research on the economic performance of United State of America over the last ten years from 2004 to 2013, applying the macroeconomic indicators of real GDP, real GDP growth rate, real GDP per capita, unemployment rate and inflation rate to a..

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Explaining actionscript developer

What do you believe the following comment means for ActionScript developer: "you are used to having to define object methods and properties in class structure before using them in instance.

  Explain the difference between oltp and olap data base

Explain the difference between transactional database (OLTP) and analytical database (OLAP).

  0.4 of students are women and gpa for women

0.4 of students are women and gpa for women has mean of 3 and sd 0.8; Gpa for men has mean of 2.5 and sd of 1.0. a sample size of 100 students which consist 40 women and 60 men.

  Give the coordinates of the ''outliers''

The threshold value you gave, and the maximum distance from the centroid to the farthest point in a cluster for all the clusters. It should also give the coordinates of the 'Outliers' in a separate output file. Outliers are those points that do no..

  Identification of the concept of a target audience

You are working on a new Web site for Cruzes, Inc. The Web site is aimed at providing travel information to consumers interested in cruises. When meeting with Jason, the marketing manager of Cruzes, Inc

  Identify the address of the neighboring gateway

What OBJECT TYPE would you use to identify the address of the neighboring gateway from your local gateway?

  Find optimal production amounts using graphical method

The daily demand for solution A lies between 30 and 150 units, and that for solution B between 40 and 200 units. Find the optimal production amounts of A and B using the Graphical Method.

  Describe a system project that might have three subsystems

Describe a system project that might have three subsystems.

  Which data input appears on output y

View a datasheet function table for a 74151 device. Using Quartus pin names, assume the chip is enabled and C = 1, B = 0, and A = 0. Which data input appears on output Y?

  Network connectivity and protocols

Network Connectivity and Protocols-

  What is the propagation delay on a circuit using a leo

What is the propagation delay on a circuit using a LEO satellite orbiting 500 miles above the earth if the speed of the signal is 186,000 miles per second? If the satellite is 22,000 miles above the earth?

  Design a block of memory

Design a block of memory which is 512K x 8 bits using memory chips which are 128K x 8 bits. Assume that the chips are ROM with Chip Enable inputs, and Output Enable inputs. How many address inputs do the individual chips have?

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