Getting first line of a text file

KillerTomato

Member
Joined
Mar 20, 2007
Messages
6
Programming Experience
1-3
Hello, I am making a small restaurant management software program. I was wondering how to get the first line and display its text in a textbox. This is part of the clockin process.
Employer will make a employee file containing the persons info lie first name last name, address, etc, etc. The file name will be the employee's clockin/clockout number. What they will do is they will enter their number, click the Employee Number button. The program will then goto the employee#.txt file and display the first line of text which is where the employee name is stored. Then if their name is shown then they click Employee Clock-In/Employee Clock-Out button. This is to help and be sure that no one clocks in or clocked out the wrong person. I thought about doing this with a MS Access database but I'm no real good with databases yet. Do if yall can help me with this. I would be greatly appreciative. Thanks in advance
 
I would put all of this into an Access database, it'll make things much more easier to manage and update later on
 
Back
Top