写入文件的方法如下
Public Sub ExecuteStringToLog(ByVal StringToLog As String)
Dim file As New System.IO.StreamWriter("C:\Users\Desktop\fastcopy\Win7FastCopyTools2012-1-9\Win7FastCopyTools\Log\任务日志.txt", True)
file.WriteLine(StringToLog)
file.Flush()
file.Close()
End Sub
任务日志.txt在资源管理器下
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货