Hi Ed,
>It seems pretty logical, but you know, I just checked one project where I use these functions extensively, and see, that only LOCFILE() required making _SCREEN visible. For some reason, GETFILE() and PUTFILE() work Ok when _SCREEN.visible=.f.
I know (or at least believe) you're using VFP 5.0. In VFP 6.0, however, this isn't the case. Let me amend that, there is an exception.
If you type in, highlight and select execute selection from the popup menu, you get nothing:
_SCREEN.Visible = .F.
lcfile = GETFILE('TXT')
_SCREEN.Visible = .T.
The screen disappears, and the only trace of an open window is on the taskbar with an item named "Open". Unfortunately, it's inaccessible. BTW, to restore VFP, hit ctrl+alt+delete and double click Open in the list or right click it and select Close from the popup menu.
The exception occurs when the debugger window is open. Then you'll get the dialog.
George
Ubi caritas et amor, deus ibi est