Hi Don,
You can create a simple form with a listbox driven by array created with ADIR() and OK and Cancel buttons. I don't think you can restrict Common Dialog OpenFile to the current directory.
To get to the help for a particular ActiveX control, you can drop it on a form, right-click on it and choose Help.
>
>I have a form that uses GetFile() for the user to return the name of a table which is subsequently used by other code.
>
>But, I could not figure out how to prevent the user from browsing to different directories. In otherwords, the user should only be allowed to select a table from the directory set when the GetFile dialog opens.
>
>So I tried using the activex commoncontrol. I have the control working on a form. But I can't seem to figure out how to limit the user to the default directory.
>
>What have I missed?
>
>BTW - Where can I find a reference for the PEMs of active x controls that ship with VFP8?
>
--sb--