Question from Newbie

Jase3085

New member
Joined
Mar 4, 2005
Messages
4
Location
NZ
Programming Experience
Beginner
Hey,

Im trying to create a log file that logs everything that was typed in a textbox.

So if i have a textbox and a 'submit' button, then after i click submit, everything that was typed in the textbox should be logged to a wordpad or notepad file.

Plz Help???
-Jase
 
VB.NET:
Dim swOutPut As New System.IO.StreamWriter("C:\MyTextFile.txt")
swOutPut.Write(TextBox.Text)
swOutPut.Close()

is one way, there are many when it comes to TextFiles
 
Back
Top