| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 560 人关注过本帖
标题:VB的commndDialog空间打开多个文件受限怎么办
只看楼主 加入收藏
VBnext
Rank: 1
等 级:新手上路
帖 子:33
专家分:0
注 册:2013-4-24
结帖率:80%
收藏
 问题点数:0 回复次数:1 
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
打开超过10个文件提示如下
图片附件: 游客没有浏览图片的权限,请 登录注册

怎么怎么解决呀
搜索更多相关主题的帖子: False files 空间 
2013-07-20 19:11
VBnext
Rank: 1
等 级:新手上路
帖 子:33
专家分:0
注 册:2013-4-24
收藏
得分:0 
回复 楼主 VBnext
没人回复,自己回复吧!解决了
将CommndDialog.maxfilesize=3500解决
2013-07-24 11:25
快速回复:VB的commndDialog空间打开多个文件受限怎么办
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.014605 second(s), 9 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved