Open file dialog with strange file name

  • Thread starter Thread starter GrantS
  • Start date Start date
G

GrantS

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
 
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?
 
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.
 
Back
Top