Saving texbox content

Simon4VB

Member
Joined
Apr 2, 2009
Messages
23
Programming Experience
1-3
Hi everyone,
How do you save textbox content (block of text) into c:\mydocuments.
Thanks you in advance,
 
One suggestion:
VB.NET:
Dim path As String = IO.Path.Combine(My.Computer.FileSystem.SpecialDirectories.MyDocuments, "document.txt")
My.Computer.FileSystem.WriteAllText(path, Me.ContentTextBox.Text, False)
 
Back
Top