i just got net a couple days ago and i cant figure out how to read or wrie text files, i tried using what i new from vb6 but i couldnt get anything to work?? can anyone help me?
If youre using vb.net Youll do it kind of like this
You dim a filestream, and then set its value to New Filestream(filename)
Then (to read) youll dim a streamreader, and set its value to New Streamreader(filestreamname). for writing you use a streamwriter.
For all the functions of the streamreaders and writers, just type them and then a . to have intellisense bring up a list. Otherwise thats pretty much it
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.