>Hello,
>
>I tried to find either an API call or a scripting host class that displays the same functionality as the GETFILE() in VFP.
>It should return a file object, or the file name plus location would be also fine.
>
>Is there a way to do this?
I posted a FAQ that demonstrates how to implement an enhanced GETDIR() using the Shell.Application BrowseForFolder method - the parameters can be adjusted to have it return fully qualified file names rather than folders. A call to Scripting.FileSystemObject with the fully qualified file name will return an FSO file object,