Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Directory List with LAN
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00568442
Message ID:
00568511
Views:
19
>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--
Previous
Reply
Map
View

Click here to load this message in the networking platform