.NET Framework Developer Center >
.NET Development Forums
>
Regular Expressions
>
FileDialog Filter Property
FileDialog Filter Property
- I'm working on a program that creates simulated samples and then saves them to the same file format as the program that deciphers the real samples.
The naming scheme that is used for the files includes the date and time the sample was taken with periods braking it apart, and the extension is .bwm. So, the files look something like *.<month>.<day>.<year>.<hours>.<minutes>.<seconds>.<nanoseconds>.bwm
The sampling device runs at a really high frequency.
I've tried using, "bwm|*.bwm|All Files|*", as my filter, but the onlything that picks up the files is the All Files option. Does anyone have any ideas on getting the SaveFileDialog to show the bwm files without showing everything else?
Answers
- Hi FCT
this doesn't sound like a Regular Expression question.
It would be more appropriate at the VB General Forum
http://social.msdn.microsoft.com/Forums/en-US/vbgeneral/threads
but, did you try this:
"BWM Files(*.bwm)|*.bwm"- Marked As Answer byeryangMSFT, ModeratorMonday, November 02, 2009 7:56 AM
- Hi,
The suggestion given by jwavila is worth to try, by the way, this article shows more details about dialog filter pattern string, hope it can help.
Thanks,
Eric
Please remember to mark helpful replies as answers and unmark them if they provide no help.- Marked As Answer byeryangMSFT, ModeratorMonday, November 02, 2009 7:56 AM
All Replies
- Hi FCT
this doesn't sound like a Regular Expression question.
It would be more appropriate at the VB General Forum
http://social.msdn.microsoft.com/Forums/en-US/vbgeneral/threads
but, did you try this:
"BWM Files(*.bwm)|*.bwm"- Marked As Answer byeryangMSFT, ModeratorMonday, November 02, 2009 7:56 AM
- Hi,
The suggestion given by jwavila is worth to try, by the way, this article shows more details about dialog filter pattern string, hope it can help.
Thanks,
Eric
Please remember to mark helpful replies as answers and unmark them if they provide no help.- Marked As Answer byeryangMSFT, ModeratorMonday, November 02, 2009 7:56 AM
- Neither *bwm or*.bwm don't work. But, I no longer need to do this because we found it was more useful to let the program set the file name and to let the user set the save directory.


