SaveSEtting MultiLine Textbox
Hello,
i have a multiline textbox, when i do SaveSetting, Get Settin gto File, it only saves the first line of textbox, how can you save all lines.
I am using This Save Method
Code:
Public Sub Save MultilineTextbox5(ByVal FileName As String)
Set strm = fso.CreateTextFile(FileName, True)
With strm
.WriteLine frmMail.Text5.Text
.Close
End With
End Sub
Re: SaveSEtting MultiLine Textbox
Doesn't WriteLine just write a line and not the rest? I don't know this method but is there something like WriteData which would write all the lines?
Re: SaveSEtting MultiLine Textbox
ah here we go, i think what i was looking for was
instead of .readline i needed .ReadlAll
haha thank you for pointing me to the right direction
Re: SaveSEtting MultiLine Textbox
Don't you mean .WriteAll?
Re: SaveSEtting MultiLine Textbox
yes you are right, lol, too much coding, need to take a break