need help with changing contents of text files

katzmiao

New member
Joined
Apr 1, 2003
Messages
3
Location
Here
need help with btnChange event in vb.net

I hope someone can help with this. I need to include a btnChange event on a form but I have no idea if this should use the streamwriter to ChangeText instead of AppendText or CreateText or not or if Im supposed to use something else. I also need to find out if the sw.writeline would be changed to changeLine.

Of course, no examples in the book to use. Ugh.

Thanx in advance.

:confused:
 
Youll have to be much more specific in what youre asking.. I cant
make heads or tails of your question!

What is it youre trying to do, and what is the problem you are having?
 
Okay - Im working on a form that requires the ability to change data to the original text file. I just have no idea on how to do that. :o So far, weve covered appending a file and creating one but there is nothing to show how to update data.

The only things shown in the book for a button event are display and compute. :eek:
 
You dont "change" things in a text file, as you want to. You have to read it all in, change what you need to then write it out again. Files are not like strings.
 
Gee thanx peeps. Move the freaking post AND change the blasted title so the thread starter cant find it again. Should have known better than to use a forum like this for any assistance.
 
Hey we all do our best to help and devote a lot of time to it for nothing but making misleading questions kind of throws us of the scent

Rephase exactly what you want and we will help you out

Andy
 
How many other threads did you make recently in the Windows Forms forum? Your name is clearly by the thread.

Future people searching for help on modifying text files wont find what theyre looking for if its in a thread supposedly about buttons, will they?
 
Originally posted by katzmiao
Should have known better than to use a forum like this for any assistance.

I certainly hope those of you who contribute, and therefore teach volumes to those of us willing to learn
( appreciating beyond reason the altruistism in your input) will dismiss this mislead statement.

Thank god for gurus.
 
Back
Top