AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile
you will need to make a textboc called "text1" a command button called "cmdOpen" a textfile change multiline to true for the text box 'inputs text from a text file Dim strline As String Private Sub Form_Load() Open ("(filename).txt") For Input As #1 end sub Private Sub cmdOpen_Click() Line Input #1, strline text1.Text = strline end sub does any1 know how to save the inputed text file if u change it? ____________________________ [IMG]http://tinypic.com/m7b5tg.jpg[/IMG]
won't it just work if you print the text to it normally like this:
quote:pavol wrote: won't it just work if you print the text to it normally like this: Private Sub cmdSave_Click() Open filename.txt For Output As #1 Print #1, text1.Text Close #1 End Sub just something simple like that maybe. hope it helps