You have to pass 3 or more parameters to get new GetDir() dialog box that includes "My Documents"
? GETDIR("", "Select Folder", "")
If you want to get directory name for "My Documents", see
Re: How can I retrieve the path to my documents folder Message #
809482>I have been asked by my client to save data files to the "My Documents" directory. I am referring to the "My Documents" folder at the head end of the drive above drive C:\.
>
>I have found that the getdir() function puts up a tree for normal directories starting with C:, D: etc. but nothing for the head end. I also find that if simply type in the directory name as MY DOMUMENTS and attempt to save there, it does not work.
>
>Is there some way of naming the "My Documents" folder so that it is accessible by VFP?
>
>
--sb--