By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,025 Members | 1,250 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,025 IT Pros & Developers. It's quick & easy.

Open file dialog with strange file name

P: n/a
I am needing to permit users to select files using the 'Open file'
common dialog box. The format of the names of the files are along the
names of: GB00((&X.001.jpg

I am not able to show these files in the dialog box for selection. I
do need to use filters (cannot use (*.*| all files)

I tried using the filter *.*.jpg without success.

The filter string I have tried is:
"All files(*.*)|*.*|All files(*.*.*)|*.*.*|Jpg Image
files(*.*.jpg)|*.*.jpg|Jpg Image files(*.jpg)|*.jpg|Jpeg Image
files(*.jpeg)|*.jpeg|MS Word files(*.doc)|*.doc"

Any ideas on how to view these files?

Thanks - in advance - for any pointers.

Grant
Nov 16 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Hi GrantS,

Your filter should work just fine, although there is no difference between
*.*.jpg and *.jpg.
Testing on my system I could view filenames like the one you mentioned
just fine.
Are you certain you are viewing the right directory?

--
Happy Coding!
Morten Wennevik [C# MVP]
Nov 16 '05 #2

P: n/a
"Morten Wennevik" <Mo************@hotmail.com> wrote:
there is no difference between *.*.jpg and *.jpg.


Not true. For example, test.jpg matches *.jpg but not *.*.jpg.

P.
Nov 16 '05 #3

P: n/a
On Mon, 6 Dec 2004 13:03:29 +0000 (UTC), Paul E Collins
<fi******************@CL4.org> wrote:
"Morten Wennevik" <Mo************@hotmail.com> wrote:
there is no difference between *.*.jpg and *.jpg.


Not true. For example, test.jpg matches *.jpg but not *.*.jpg.

P.


Ah, you are correct. I meant *.*.* and *.* which for some reason the only
difference I could find was the first one not showing filenames without
any '.' whereas the latter would do.

--
Happy Coding!
Morten Wennevik [C# MVP]
Nov 16 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.