When my file open dialog box opens, i want it to only display the files of default filter type. For instance, filter is set for dbf files so i only want to see dbf files in the box. How do i do this?
thanks in advance
Printable View
When my file open dialog box opens, i want it to only display the files of default filter type. For instance, filter is set for dbf files so i only want to see dbf files in the box. How do i do this?
thanks in advance
Here you go:
Code:CommonDialog1.Filter = "DBF (*.dbf)|*.dbf"
Matthew, Don't use COMMDIALOGS.
They take up a TON of :mad:MEMORY!!!:mad:
VBWorld has a GREAT tutoral about using API, so :).
That's what he's using though. Is he not?
Hmm...
I guess it is.
is a good idea if that is what he is using;).Code:CommonDialog1.Filter = "Database Files (*.dbf)|*.dbf"