'# 添加LOG到LISTBOX,以及存入日志文件 (/日志数据库)
Function addInfo(info As String)
Dim strIf As String
Dim FileName As String
FileName = appLogPath & CStr(Date) & ".txt"
Open FileName For Append As #1
strIf = CStr(Now) & " " & info & vbCrLf
lstLog.AddItem strIf
Print #1, strIf
Close #1
End Function