注册 登录
编程论坛 VB6论坛

VB的commndDialog空间打开多个文件受限怎么办

VBnext 发布于 2013-07-20 19:11, 566 次点击
程序:
   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
打开超过10个文件提示如下
只有本站会员才能查看附件,请 登录

怎么怎么解决呀
1 回复
#2
VBnext2013-07-24 11:25
回复 楼主 VBnext
没人回复,自己回复吧!解决了
将CommndDialog.maxfilesize=3500解决
1