I wrote the filter for my openfiledialog object like this:

ofd.Filter = "Access Database (*.mdb)|"

and I think that's correct and it does show up as the only option for filetypes when the ofd opens but the files shown in the actual ofd when it comes up are any type. I could choose a jpg instead of I wanted. So the filter isn't really doing anything at all except changing what the filetype dropdown says. How can I get it to actually enforce my filter rules with what files are able to be chosen?