The common dialog filter is written as one string that has two parts to it that are separeted by a vertical line character. The string expression
Any Access Database|*.mdb
causes the phrase "Any Access Database" (the part to the left of the "|" to appears as a prompt in the common dialog control at run-time, the phrase "*.mdb" (the part to the right of the "|" is the actual filter that would cause only files with [any filename and an extension of "mdb"] to appear as selectable files from whatever directory/folder has focus at run-time.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.