I am using open statement on the load event to log the user id and the pc id and the time user start my program and save these values in a text file for my auditting, my quistion is about logging the time user end my program and write the values after the line where it writes his logged on information in the same text file
Hopefuly my quistion is clear, it is almost like alterring the Ini file but I beleive ther is an easy to do that with the text file.
Regards
'''''''''''
The statement I use to log on loading the prog:
Dim intChFile As Integer
startupLogFileName = "Log Path"
intChFile = FreeFile
Open startupLogFileName For Append As #intChFile
Print #intChFile, userid & " " & "Logon" & " " & " " & "From PC#:" & " " & pc_name & " " & "On" & " " & Format(Now, "general date")
Close intChFile

[Edited by maqmaq on 07-17-2000 at 08:49 AM]