Hi,

Tq for ur support before....

I got some stuck here regarding how to make my text file write a new line for each input from textbox..

E.g :-

I have a one textbox1 , when i insert any value in textbox it will save into my textfile. .. but when i;m insert new value it will replace my exist value in my text file...how to make it write into new line and remain all the value?..

tq

hi all,

try the following it works

dim swriter as streamwriter
swriter=File.AppendText("filename.txt")
swriter.writeline(" pass your data here )
swriter.close()

Edited 6 Years Ago by Nick Evan: Added code-tags

hi all,

try the following it works

dim swriter as streamwriter
swriter=File.AppendText("filename.txt")
swriter.writeline(" pass your data here )
swriter.close()

No it won't, you're missing a ". Besides, this thread was solved over a year ago..

This question has already been answered. Start a new discussion instead.