Hi,
I have a program which allows a user to enter information into the program which will be stored in a file. When the user logs in the system recognizes the use log in a shows all the information in the correct text boxes .
I was wondering if it is possible to edit the information in the file which the user already enter by typing in the text boxes, which will then overwrite the information originally in the file?
2 Replies - 799 Views - Last Post: 14 February 2013 - 04:28 PM
#1
Is it possible to edit a .txt file from a Textbox
Posted 12 February 2013 - 02:03 PM
Replies To: Is it possible to edit a .txt file from a Textbox
#2
Re: Is it possible to edit a .txt file from a Textbox
Posted 12 February 2013 - 02:05 PM
Sure.. you just need to first load all the data into memory, and then resave it with the new bits added.
#3
Re: Is it possible to edit a .txt file from a Textbox
Posted 14 February 2013 - 04:28 PM
Or you can delete the original file and recreate it with the current contents of the text boxes.
Page 1 of 1