VB使用传统方法读写文件时不允许其它程序读写
1.不充许其它程序读文件
Open FileName For Input Access Read Lock Read As #lngFH
2不允许其它程序写文件但可以读
Open FileName For Output Access Write Lock Write As #lngFH
VB使用传统方法读写文件时不允许其它程序读写
1.不充许其它程序读文件
Open FileName For Input Access Read Lock Read As #lngFH
2不允许其它程序写文件但可以读
Open FileName For Output Access Write Lock Write As #lngFH