Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using GETDIR() and Non-drives
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00619033
Message ID:
00619080
Views:
27
>I guess I don't understand how this answers my question... I need to know how to determine what the user actually clicked on since the dialog is falsly returning "C:\"
>
>Michelle
>
>>
>>From the Help File:
>>
>>In this version of Visual FoxPro (VFP7), GETDIR( ) supports two different dialog boxes. If you provide fewer than three parameters, GETDIR( ) returns the dialog box from earlier versions. If you provide more than two parameters, Visual FoxPro uses the SHBrowseForFolder routine from the Win32 API to provide the dialog.

If you don't include whatever parameter sets off the SHBrowseForFolder routine, you get a different getdir() dialog. Type
? GetDir()
at the command window, you won't even be able to select anything other than a drive.
jfh
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform