Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getdir and maintaining case
Message
 
 
To
24/05/2008 05:00:37
Denis Filer
University of Oxford
United Kingdom
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01319328
Message ID:
01319368
Views:
13
There's an article by Andrew Coates at http://www.civilsolutions.com.au/publications/getfolder.htm that shows how to use SHBrowseForFolder API.

Another way is to use the Shell.Application object
lcRootFolder = "..."
*lnParentWindowhWnd = Thisform.hWnd
*lnParentWindowhWnd = _SCREEN.hWnd
lnParentWindowhWnd = 0

oShell = createobject("Shell.Application")
oFolder = oShell.BrowseForFolder(lnParentWindowhWnd, "Please Select folder", 0, lcRootFolder )
? oFolder.Items.Item.Path
There is an article by George Tasker in the July 2000 issue of the VFUG newsletter (www.vfug.org) about it. See also http://msdn.microsoft.com/en-us/library/bb774065.aspx

>
>using lcdir = getdir('','','',64)
>
>is there a way to maintain the original folder case? Many thanks.
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform