Adblock breaks this site

C# homework

Discussion in 'Software Sales' started by Do It Right, Apr 23, 2013.

  1. Do It Right

    Do It Right Forum Addict

    Joined:
    Feb 12, 2012
    Posts:
    416
    Referrals:
    0
    Sythe Gold:
    0
    C# homework

    Hi I need someone to do my c# homework ill post the instructions. im using microsoft visual c# 2010 studio. we can work out payment method as i really dont know what this even worth should only take an hour or two depending on your skill level.


    C# Assignment 3
    In this assignment you will create a Form that contains the following text fields and combo box with
    labels identifying each field.
     First Name – text field
     Last Name – text field
     Street – text field
     City – text field
     State – text field
     Zip – text field
     Hours Worked (integer) – Combo Box
     SSN – text field
    and a listbox
    This form will also contain a List Box with the label SSNs
    This form will also include a button labeled “Clear”, a button labeled “Write”, a button labeled “Save”,
    and a button labeled “Exit”.
    Your program will perform the following tasks:
    1. When the program starts values from 1 to 55 are loaded into the Hours combo box.
    2. When the program starts the file named “EMPS.TXT” is opened for output.
    3. When the user clicks the Save button the file SSNS.TXT is opened and everything in the ListBox is
    written to this file
    4. When the user clicks the Clear button the contents of the text fields are cleared.
    5. When the user clicks the Write button the program will perform the following steps:
    * Check the text boxes. If a text box does not have a value or does not have a valid value (the
    Hours value is not a number) then an error message is displayed.
    * Checks the SSN List Box and if the SSN value is already in this list box then display the message
    “Already Added” and return to the main window.
    * If the SSN is not already in the List Box then add the SSN value to the List Box
    * If the SSN is not already in the List Box then write the data in the text fields to the file named
    “EMPS.TXT” in the format (comma delimited)
    First,Last,Street,City,State,Zip,Hours,SSN
    6. When the user clicks the Exit button then close all open files and exit the program.
     
  2. Guyoates

    Guyoates Member

    Joined:
    Apr 7, 2013
    Posts:
    50
    Referrals:
    0
    Sythe Gold:
    37
    Discord Username:
    Thriller#5667
    C# homework

    This is basic c#.. come on, if you cant do it yourself, you probs shouldn't be in the class.
     
  3. Do It Right

    Do It Right Forum Addict

    Joined:
    Feb 12, 2012
    Posts:
    416
    Referrals:
    0
    Sythe Gold:
    0
    C# homework

    its beggining c# and i dont want to figure it out
     
  4. NKN

    NKN Forum Addict

    Joined:
    May 8, 2012
    Posts:
    293
    Referrals:
    0
    Sythe Gold:
    3
    C# homework

    Then drop the class.

    You shouldn't be in a programming class if you have no interest in it.
    This would take 5 minutes worth of work.
     
  5. Do It Right

    Do It Right Forum Addict

    Joined:
    Feb 12, 2012
    Posts:
    416
    Referrals:
    0
    Sythe Gold:
    0
    C# homework

    I wasn't asking for your counselling i'm asking for help with an assignment, if you don't want to help please leave. I have interest in it I just don't want to do this assignment geez mr. judgemental.
     
  6. SordanMan

    SordanMan Member

    Joined:
    Jan 11, 2013
    Posts:
    43
    Referrals:
    0
    Sythe Gold:
    0
    C# homework

    Not judging you or anything - but if you plan on staying in the course and want to further do work with programming I suggest you do it yourself. If you don't you will just be double screwed on the next one and will regret not following along with the assignments - trust me, I am a comp sci graduate.
     
  7. Do It Right

    Do It Right Forum Addict

    Joined:
    Feb 12, 2012
    Posts:
    416
    Referrals:
    0
    Sythe Gold:
    0
    C# homework

    okay then would you like to help me out? my instructor did it using things like wtr, and rdr and streamreader i don't understand how to use them and i cant find it anywhere in my textbook. and when i try to use it the computer doesnt recognize it so im guessing im missing a file at the "using" section.
     
  8. fasck

    fasck Active Member

    Joined:
    Nov 1, 2005
    Posts:
    136
    Referrals:
    0
    Sythe Gold:
    0
    C# homework

    Is the program supposed to read from the EMPS.txt?

    edit: And the text-boxes receives that as info? I don't really understand what EMPS.txt is for.
     
  9. dw1

    dw1 Newcomer

    Joined:
    Jun 12, 2009
    Posts:
    22
    Referrals:
    0
    Sythe Gold:
    1
    C# homework

    For streamreader and things that use text files, you need to add using system.IO; at the beginning.
     
  10. Do It Right

    Do It Right Forum Addict

    Joined:
    Feb 12, 2012
    Posts:
    416
    Referrals:
    0
    Sythe Gold:
    0
    C# homework

    i have that up there but i dont know what each one is used for like rdr stream reader wtr dr etc... and the program is supposed to create the file emps.txt then write the information that are in the textboxes to that file whilst checking to see that the information isnt already in the file.
     
< [TRiBot] Sorceress Garden Script | [BUYING] Oldschool sudoku script >


 
 
Adblock breaks this site