Declare integer GetActiveWindow in WIN32API >oShell = createobject("Shell.Application") >oFolder = oShell.BrowseForFolder(GetActiveWindow(), "Please Select folder", 0 ) >? oFolder.Items.Item.Path >? oFolder.Items.Item.NameThere is an article by George Tasker in the July 2000 issue of the VFUG newsletter (www.vfug.org) about that.