Hello
Im currently working on a web browser and at the moment, after traipsing round the whole of the internet, im completely flumoxed.
I have a textbox (textbox1) on a form, and what i want is at the click of a button on the form, any text in that box is sent to a text file. Any help would be really greatly appreciated.

firstly you use the streamwriter class, it is used to write to a textfile or any order doc type

'Put this code on the onclick event
 dim anyThing As StreamWriter
  anyThing = File.AppendText("textFile.txt") ' creates new file if no file exists
anyThing.WriteLine(textbox1.text) ' Writes the value of the textbox1 to the textfile
anyThing.Close()

Hope it helps

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.