>Hi!
>
>>You can use the Common Dialog ActiveX control. See Thread #
553365 Message #
553385. Take a look also at file#
1050, file#
9407.
>
>Dialog box that enables the user to select a shell folder, is not implemented in Common Dialogs control. This functionality provided by API function SHBrowseForFolder, but I don't know how to call it directly from VFP.
>
>Alex
Rigt. Here's another way
Declare integer GetActiveWindow in WIN32API
oShell = createobject("Shell.Application")
oFolder = oShell.BrowseForFolder(GetActiveWindow(), "Please Select folder", 0 )
? oFolder.Items.Item.Path
--sb--