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

  Reverse the string

Reverse the string. If the reversed string is the same (.equals()) as the original, pared down, string then it is a palindrome.Way 2: Look at the first and last letter and see if they are the same (using the charAt() method), then the second letter ..

  Write a java program that declares an array alpha

Initialize the array so that the first 25 elements of array are equal to the square of the index variable, and the last 25 elements are equal to three times the index variable. Output the array so that 10 elements per line are printed on the conso..

  Network lan and the wan links

Use VLSM to configure the given network LAN and the WAN links. VLSM must be used in the MOST efficient way to subnet the LAN and the WAN links. All the links between routers are WAN links.

  Write a program to print duplicates in a string and count

1. write a program to print duplicates in a string and their count.

  Distinguish between software agents and pieces of software

How would you distinguish between software agents and other pieces of software? Is the electronic calendar like the one given by MS Office agent?

  Designing a 24 cpu multiprocessor chip

designing a 24 CPU multiprocessor chip to compete with Intel PHI at a lower price point. Each core will run at 2 GHz and have a 32Kb L1 cache, 50ps access (per word), 8 word blocks, 4-way associative, write-through, 1% miss ratio There is a 6Mb L2 ca..

  Prepare database design documents using the data definition

Prepare database design documents using the data definition, data manipulation, and data control language components of the SQL language.

  Write a test application name employeetest that demonstrate

Write a test application name EmployeeTest that demonstrate class Employees capabilities. Create two Employee objects and display each objects yearly salary. Then give each employee a 10% raise and display each employees yearly salary again.

  Write a mips program to complete the following functions

Write a MIPS program to complete the following functions. You must write comments and follow the register convention.

  A one-variable quadratic expression

A one-variable quadratic expression is an arithmetic expression of the form ax^2+bx+c, where a,b, and cc are some fixed numbers (called the coefficients) and x is a variable that can take on different vaues

  Prove by induction of recurrence relation has solution

Describe why Kim's recurrence relation is correct. Prove by induction that Kim's recurrence relation has solution: M(k) = 3^(k - 1).

  What is an unbreakable uml diagram

What is an "unbreakable" UML diagram. I have a Java assignment, and it's asking for this requirement, but I have never seen or heard of one. A link where I can see the definition and an example would be awesome. Thanks

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