2011-06-17 15:07:06| 分类: 文件选择对话框 | 标签: |字号大中小 订阅
第一步:新建一个Modules,假设为Modulas1.bas
把下面的复制到Module.bas中
Public Const BIF_RETURNONLYFSDIRS = 1
Public Const BIF_DONTGOBELOWDOMAIN = 2
Public Declare Function SHBrowseForFolder Lib "shell32.dll" Alias "SHBrowseForFolderA" (LpBrowseInfo As BROWSEINFO) As Long
Public Declare Function SHGetPathFromIDlist Lib "shell32.dll" Alias "SHGetPathFromIDListA" (ByVal p