Question Hey guys, i need a little help reading and writing to a txt file

Kwinza

New member
Joined
Jun 27, 2011
Messages
2
Programming Experience
1-3
Good afternoon everyone, sorry about making my 1st post a question but im at work and need a little help.
I have a tab spaced txt file that looks somthing like this;

Comp1 Date1 detail1 cash1
Comp2 Date2 detail2 cash2
Comp3 Date3 detail3 cash3

I'd like to be able to read in the file and have a pop up message ask somthing like this;
"Is cash1 for comp1 correct?"
If yes ask about the 2nd line and if not ask what the real cash total is and then over write that to the file, then ask about the 2nd line.

I hope thisisnt too much work for any of you.

Thanks for any help
 
Not too much work at all for us, given you'll be doing it ;)

The StreamReader Class is a good place to start and should get you reading your file into your application.
 
Back
Top