D
daMike
Hello,
I have a function to search for a file or folder.
From this function I get as return value the path of
the desired folder or file. Is it somehow possible to
change the start path of this function? I wanna start
the search on another drive/folder!
**************** Code *************************
Private Type BrowseInfo
hWndOwner As Long
pidlRoot As Long
sDisplayName As String
sTitle As String
ulFlags As Long
lpfn As Long
lParam As Long
iImage As Long
End Type
Private Declare Function SHBrowseForFolder Lib "Shell32.dll" (bBrowse
As BrowseInfo) As Long
Private Declare Function SHGetPathFromIDList Lib "Shell32.dll" (ByVal
lItem As Long, ByVal sDir As String) As Long
**************** Code *************************
Thanks in advance!
daMike
I have a function to search for a file or folder.
From this function I get as return value the path of
the desired folder or file. Is it somehow possible to
change the start path of this function? I wanna start
the search on another drive/folder!
**************** Code *************************
Private Type BrowseInfo
hWndOwner As Long
pidlRoot As Long
sDisplayName As String
sTitle As String
ulFlags As Long
lpfn As Long
lParam As Long
iImage As Long
End Type
Private Declare Function SHBrowseForFolder Lib "Shell32.dll" (bBrowse
As BrowseInfo) As Long
Private Declare Function SHGetPathFromIDList Lib "Shell32.dll" (ByVal
lItem As Long, ByVal sDir As String) As Long
**************** Code *************************
Thanks in advance!
daMike