>Hi,
>
>I'm looking for a painless way (i.e. - don't wanna write my own dialog if I can help it) to get enhanced GetFile() functionality.
>
>Specifically - I would like a Getfile() type function that limits the choices (or at least the default choices) to files matching a particular pattern like "TEST*.dbf" - where actual file names are like TEST123.dbf, TEST456.dbf, etc.
>
>Is there a trick or existing function for handling this?
>
Ken,
This isn't documented as doing this, but it currently does, so take what follows accordingly. You can use the Common Dialogs ActiveX control's ShowOpen() method to do this. What you would do is set the filter property like:
oDlg.Filter = "Test table (test*.dbf)|test*.dbf"
George
Ubi caritas et amor, deus ibi est