Re: text files
- From: "George Bashore" <gbashore@xxxxxxxx>
- Date: Fri, 9 Dec 2005 18:40:45 -0500
Donald try this with something in a textbox and a command button.
Private Sub Command1_Click()
Dim FF as Integer
Dim FileName As String
FF = FreeFile
Open "c:\test.txt" For Output As #FF
Print #FF, Text1.Text
Close #FF
End Sub
"Donald" <Donald@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:8780E26B-5EBD-4AB5-8375-F79210AC9BE4@xxxxxxxxxxxxxxxx
>I am trying to write to a text file but i do not know how to. I woluld like
> the code for writing to a text file. My Problem is that I can't get the
> program to save to the file.
> --
> Donald
.
- Prev by Date: Re: Visual Basic 6.0 program crashes with error code 0xc0000005
- Next by Date: Re: Snowfall screensaver
- Previous by thread: Re: text files
- Next by thread: Re: text files
- Index(es):