|
-
Nov 22nd, 2007, 10:53 AM
#1
Thread Starter
Hyperactive Member
[2005] Open File Dialog filter problem
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?
I tried to end process on Visual Studio 2005
but PETA stopped me saying it's smart enough
to be a living creature 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|