Hi, I want to load a persons details into an array from a text file so that I can then put that info into textfields, edit it and then some how save it into the file again. Can anyone supply me with some sample code of how i should do this? Thanks in advance, Berty
I would recommend starting with Sun's I/O streams tutorials. They're quite good and will give you a good understanding of the basics. Then make an attempt to write the code yourself (there's no better way to learn), and come back here to post specific questions and get help with non-working code.
Do you want to read the file's contents into a byte array? That wouldn't be very convenient for putting elsewhere. Can you explain exactly what you want to do? Be as specific as possible since the compiler will require you to be when coding.