>Hello everyone,
>I'm running a prg, no forms, nothing visual, so my first line of code is to _SCREEN.Visible = .F.
>Everything processes just fine, except for GETFILE(), which seems to need to be in the main screen. Is there a way to get it out of the screen, or is there another way to let the user choose the path and file name and return it? Thanks for any help.
John,
It may be that the GETFILE() dialog is inheriting its visibility state from the main VFP screen. It's (the function) a call to the Windows Common Dialogs DLL, so you can use the ActiveX control to present the same dialog to the user by correctly setting the various properties of the control.
George
Ubi caritas et amor, deus ibi est