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

  Why are they both important to game development explain

In an array of characters we saw that NULL is important in defining where the end of the string is. As we keep looking further and further into strings (both array and string) why is NULL important? With two different types of NULL, why are they both..

  What does the memory model of a microcontroller show

What does the memory model of a microcontroller show? Discuss the reasons for different types of memory such as RAM, EEPROM, and FLASH used in HCS12.

  Copy and paste the code

Copy and paste the code below in a filename LastFirst_lab43.cpp (e.g. DoeJoe_lab43.cpp) and save it in Lab 4 folder. Bring in the LastFirst_lab43.cpp program from the Lab 3 folder.

  Examine the following pseudocode module

Examine the following pseudocode module header and then write a statement that calls the module, passing 8 as an argument. Module showValue Integer values

  Regardless of the value of the input k

Suppose the DES F function mapped every 32-bit input R, regardless of the value of  the input K,

  Create a web page online reservation system

create a web page online reservation system. (feedback page and package pake )

  Encourage cooperation consistent with standards

Encourage cooperation from all, make it suitable to clean up, be consistent with standards - Who will put it away? Explain where will it be put away? When will it be put away?

  Classify each of the following occurrences as an incident

Classify each of the following occurrences as an incident or disaster. If an occurrence is a disaster, determine whether or not business continuity plans would be called into play.

  Write a class that encapsulates the evolution

Write a class (and a client class to test it) that encapsulates the evolution of the sales tax rates in the 50 U.S states over the last 10 years. Your only instance variable should be a two-dimensional array of values representing the sales tax ra..

  Explaining downtick in project success rates of it projects

What is the likely reason or reasons for the downtick in project success rates of IT projects and what recommendations would you make to improve the success rates? Be specific.

  How it''s data can associated with specific row of main form

If the Subform control is used how it's data can associated with specific row of the main form

  Determine the actual bits sent by the sender

Determine the actual bits sent by the sender? Include some idleness bits before and after the frame. Let bit-stuffing (also known as bit-insertion).

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