Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Enhanced Getfile()?
Message
 
To
03/10/2000 08:53:41
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00423969
Message ID:
00423981
Views:
17
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform