摘要:
'VB 实现大文件的分割与恢复,引用 ADODB.Stream 提供一个过程:'要引用 Microsoft ActiveX Data Objects 2.5 Libary'或 Microsoft ActiveX Data Objects 2.6 LibaryPublic Sub StreamSplit(SourceFile As String, DestinationFile As String, ChunkSize As Long, Optional BufferSize As Long = 64# * 1024#, Optional ShowFinishMessag 阅读全文
摘要:
'一段精简的读写"大字段"的代码,使用 ADODB.Stream'Objects: Form1、Picture1'引用 Microsoft ActiveX Data Objects 2.5 Libary'或 Microsoft ActiveX Data Objects 2.6 LibaryDim TempFileName As StringTempFileName = App.Path & "/TempFile.tmp"Dim adoConnection As New ADODB.ConnectionDim ado 阅读全文