I'm using this code for writing "hi" in a file
[CODE=vb]Private Sub Command1_Click( )
Open "c:\temp.tx t" For Output As #1
Print #1, "hi"
Close #1
End Sub[/CODE]
but I want that whenever I press command1 it writes "hi" there without overwriting the file.
[CODE=vb]Private Sub Command1_Click( )
Open "c:\temp.tx t" For Output As #1
Print #1, "hi"
Close #1
End Sub[/CODE]
but I want that whenever I press command1 it writes "hi" there without overwriting the file.
Comment