Tuesday, July 28, 2009

Visual basic.net c#.net VB6????? arrrrggghhhhh???

i want to type a text into a text box and press a button and save it as a .txt file i searched google for hours and found nothing that helped me





1 what language do i use?





2 what do i type in

Visual basic.net c#.net VB6????? arrrrggghhhhh???
You want to use a IO.StreamWriter.





Dim writer As New IO.StreamWriter("P:\Stuff.xml")


writer.WriteLine()


writer.Close()





Dim reader As New IO.StreamReader("P:\Stuff.xml")


reader.ReadToEnd()


reader.Close()

gifts

No comments:

Post a Comment