>>Bill
>
>This may have something to do with the fact that GETFILE(), etc. are all calls to the Common Dialogs DLL and require a window handle. When the calling window isn't visible and is a parent window, apparently the dialog won't display, if it's simply owned by VFP it will. GETDIR() is VFP. I ran into the same problem. My solution was to use the ActveX control.
Hi George,
I basically decided to "fool" it by defining and creating a top level form which I set invisible, "move" it to -1000, Show() it, set it back invisible, then autocenter it again and run the dialog. Transparent to the user, but the dialog appears and in the middle of the screen. :-)
Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.