文件名称:CFile
介绍说明--下载内容均来自于网络,请自行研究使用
文件操作的封装类,类结束时会自动关闭文件,避免有些文件打开后忘记关闭的情况。
Private mlogFileAccess As CFile
Set mlogFileAccess = New CFile
mlogFileAccess.OpenFile mlogFileName, omAppend
Print #mlogFileAccess.handle, LogText
-Wrapper class for file operations at the end of the class will automatically close the file, to avoid forget to turn off some files open. Private mlogFileAccess As CFile Set mlogFileAccess = New CFile mlogFileAccess.OpenFile mlogFileName, omAppend Print# mlogFileAccess.handle, LogText
Private mlogFileAccess As CFile
Set mlogFileAccess = New CFile
mlogFileAccess.OpenFile mlogFileName, omAppend
Print #mlogFileAccess.handle, LogText
-Wrapper class for file operations at the end of the class will automatically close the file, to avoid forget to turn off some files open. Private mlogFileAccess As CFile Set mlogFileAccess = New CFile mlogFileAccess.OpenFile mlogFileName, omAppend Print# mlogFileAccess.handle, LogText
(系统自动生成,下载前可以参看下载内容)
下载文件列表
CFile.cls