Private Sub savelog_Click()
Open App.Path & "/" & "PortPlus.Log" For Output As #1
Print , Form1.Text1
Close #1
End Sub
Printable View
Private Sub savelog_Click()
Open App.Path & "/" & "PortPlus.Log" For Output As #1
Print , Form1.Text1
Close #1
End Sub
Try
Print #1, Form1.Text1
instead.
------------------
Mark "Buzby" Beeton
VB Developer
[email protected]
Oh.. and I would open the file for Append, not for Output, otherwise the file will be overwritten when you next write to it.
------------------
Mark "Buzby" Beeton
VB Developer
[email protected]