-
Hello,
If i want to record the ocntents of two text boxes and a condition (i.e Username, time and success/failed login attempt) into a log file what is the best way of doing this.
I only want to append a log file not actually replace the last entry. That way i have an ongoing log of entries and successful/unsuccessful logins.
Any tips?
Regards
M.
(VB6 Pro edition)
-
filnum = FreeFile
Open "c:\mydir\myfile.txt" For Append As filnum
Print #filnum, Text1.Text
Print #filnum, Text2.text
Print #filnum, etc....
Print #filnum, etc....
Print #filnum, etc....
Print #filnum, etc....
Close #filnum
Hope this helps
[Edited by Bam_BamIR on 11-29-2000 at 09:26 PM]