>Hi All ---
>
>I have a stupid, little problem that is driving me nuts. I need the equivalent of a GETFILE() function that has the File name already put into the File name textbox.
>
>Better still would be the equivalent where the user cannot change the file name.
>
>I know that there is a standard API call that will solve this problem but I'm suffering from an extended brain fart.
If the target systems are known to have at least Shell version 4.71 on them, you might want to look at using the Shell.Application object's BrowseForFolders methodn as a starting point. there's an example in the FAQ that I wrote for an enhanced GetDir using Shell.Application; you can get BrowseForFolders to return files as well using some of the parameters documented there. You also might want to investigate the Common Dialogs, which includes a getfile equivalent. You laos might look at the latest version of Bela Bodec's BBGETDIR.OCX, which might have similar functionality in it; I haven't looked at it in a while, but it's a great GetDir replacement, and he's probably got what you're looking for...