How can I save value entered in text box, and which will remain in file forever.
Printable View
How can I save value entered in text box, and which will remain in file forever.
Open "C:\info.txt" For Output As #1
Print #1, variable
however, this will not ensure it is saved in there forever. A user could come along, open that file and edit the values inside. Also, if some natural disaster such as an earthquake strikes and destroys your computer, then the values will not have been stored "forever"
Don't forget to
Close #1