|
|
本帖最后由 kslim_84 于 14-12-2009 10:46 PM 编辑
我在网上找到了这些程式
Private Sub cmdBrowse_Click()
Dim strResFolder As String
strResFolder = BrowseForFolder(hWnd, "Please select a folder.")
If strResFolder = "" Then
Call MsgBox("The Cancel button was pressed.", vbExclamation)
Else
Call MsgBox("The folder " & strResFolder & " was selected.", vbExclamation)
End If
End Sub
如果我的D drive里有个文件夹名ABC11(D:\ABC11),那我要怎样更改以上的程式呢? |
|