Thread Rating:
- 0 Vote(s) - 0 Average
- 1
- 2
- 3
- 4
- 5
How do I add Textbox1.Text to a textfile?
|
Posts: 401
Threads: 141
Joined: Oct 2009
Reputation:
5
Solved:
Code: Using sw As New System.IO.StreamWriter("C:\Sample.txt") 'Opens/creates file & StreamWriter object
sw.WriteLine(TextBox1.Text) 'Outputs textbox value
End Using 'Closes & disposes StreamWriter object
|
Messages In This Thread |
RE: How do I add Textbox1.Text to a textfile? - by nevets04 - 11-12-2009, 09:11 PM
|
Possibly Related Threads… |
Thread |
Author |
Replies |
Views |
Last Post |
|
What could i add to my browser? [Project] |
XDarkCoder |
3 |
1,434 |
02-16-2013, 10:10 AM
Last Post: Swift Swim
|
|
TextBox2.Text | Transfer Text to ListBox |
Die |
3 |
2,664 |
01-02-2012, 06:09 PM
Last Post: AceInfinity
|
|
How can i add a thread? |
Modestep |
2 |
1,151 |
11-16-2011, 06:24 AM
Last Post: TalishHF
|
|
Text Converter. Turn your text upside down! |
Red X |
29 |
8,655 |
08-01-2011, 07:46 AM
Last Post: Red X
|
|
textBox1 on form1 = label1 on form 2? |
GW19191 |
5 |
2,975 |
11-06-2010, 11:11 AM
Last Post: Resistance
|
Users browsing this thread: 1 Guest(s)