VB的commndDialog空间打开多个文件受限怎么办
程序:
With CommonDialog1
.DialogTitle = "打开"
.CancelError = False
.Filter = "all log (*.log)|*.*"
.Flags = cdlOFNAllowMultiselect Or cdlOFNExplorer
.ShowOpen
If Len(.FileName) = 0 Then
Exit Sub
End If
filemanyaddress = .FileName
End With
files = Split(filemanyaddress, Chr(0))
ReDim a(UBound(files))
For I = 1 To UBound(files)
a(I) = files(0) & "" & files(I)
Next I
打开超过20个文件提示如下
FileName的缓冲区太小,不能存储选取的文件名。(增加到maxfilesize)
怎么怎么解决呀 这个提示难道还不够明确么?把CommonDialog1.MaxFileSize属性设置大一点啊