C# homework

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

C# homework
  1. Unread #1 - Apr 23, 2013 at 5:49 AM
  2. Do It Right
    Joined:
    Feb 12, 2012
    Posts:
    416
    Referrals:
    0
    Sythe Gold:
    0

    Do It Right Forum Addict

    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.
     
  3. Unread #2 - Apr 23, 2013 at 8:46 PM
  4. Guyoates
    Joined:
    Apr 7, 2013
    Posts:
    50
    Referrals:
    0
    Sythe Gold:
    37
    Discord Username:
    Thriller#5667

    Guyoates Member

    C# homework

    This is basic c#.. come on, if you cant do it yourself, you probs shouldn't be in the class.
     
  5. Unread #3 - Apr 23, 2013 at 9:36 PM
  6. Do It Right
    Joined:
    Feb 12, 2012
    Posts:
    416
    Referrals:
    0
    Sythe Gold:
    0

    Do It Right Forum Addict

    C# homework

    its beggining c# and i dont want to figure it out
     
  7. Unread #4 - Apr 23, 2013 at 10:05 PM
  8. NKN
    Joined:
    May 8, 2012
    Posts:
    293
    Referrals:
    0
    Sythe Gold:
    3

    NKN Forum Addict

    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.
     
  9. Unread #5 - Apr 24, 2013 at 12:25 AM
  10. Do It Right
    Joined:
    Feb 12, 2012
    Posts:
    416
    Referrals:
    0
    Sythe Gold:
    0

    Do It Right Forum Addict

    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.
     
  11. Unread #6 - Apr 24, 2013 at 4:19 AM
  12. SordanMan
    Joined:
    Jan 11, 2013
    Posts:
    43
    Referrals:
    0
    Sythe Gold:
    0

    SordanMan Member

    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.
     
  13. Unread #7 - Apr 24, 2013 at 1:34 PM
  14. Do It Right
    Joined:
    Feb 12, 2012
    Posts:
    416
    Referrals:
    0
    Sythe Gold:
    0

    Do It Right Forum Addict

    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.
     
  15. Unread #8 - Apr 24, 2013 at 1:46 PM
  16. fasck
    Joined:
    Nov 1, 2005
    Posts:
    136
    Referrals:
    0
    Sythe Gold:
    0

    fasck Active Member

    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.
     
  17. Unread #9 - Apr 24, 2013 at 3:56 PM
  18. dw1
    Joined:
    Jun 12, 2009
    Posts:
    22
    Referrals:
    0
    Sythe Gold:
    1

    dw1 Newcomer

    C# homework

    For streamreader and things that use text files, you need to add using system.IO; at the beginning.
     
  19. Unread #10 - Apr 24, 2013 at 4:01 PM
  20. Do It Right
    Joined:
    Feb 12, 2012
    Posts:
    416
    Referrals:
    0
    Sythe Gold:
    0

    Do It Right Forum Addict

    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 >

Users viewing this thread
1 guest


 
 
Adblock breaks this site