VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Displays a dialog that allows the user to select a directory from a tree

Alex Lvov  (1 Submission)   Files/File Controls/Input/Output   VB 6.0   Unknown Difficulty   Thu 13th June 2002   Mon 8th February 2021

Displays a dialog that allows the user to select a directory from a tree

API Declarations



'Type definition
Public Type SHITEMID 'Browse Dialog
cb As Long
abID As Byte
End Type

Public Type ITEMIDLIST 'Browse Dialog
mkid As SHITEMID
End Type

Public Type BROWSEINFO 'Browse Dialog
hOwner As Long
pidlRoot As Long
pszDisplayName As String
lpszTitle As String
ulFlags As Long
lpfn As Long
lParam As Long
iImage As Long
End Type
Public Const BIF_RETURNONLYFSDIRS = &H1 'Browse Dialog
Declare Function SHGetPathFromIDList Lib "shell32.dll" Alias "SHGetPathFromIDListA" (ByVal pidl As Long, ByVal pszPath As String) As Long
Declare Function SHBrowseForFolder Lib "shell32.dll" Alias "SHBrowseForFolderA" (lpBrowseInfo As BROWSEINFO) As Long

Rate Displays a dialog that allows the user to select a directory from a tree (2(2 Vote))
Displays a dialog that allows the user to select a directory from a tree.bas

Displays a dialog that allows the user to select a directory from a tree Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters