Filling FileOpenDialog with filenames containing wildcards 
Author Message
 Filling FileOpenDialog with filenames containing wildcards

I want to fill the FileOpenDialog with a list of files matching a selection
criteria which contains wildcards.

eg RD????.PTR

I find that I can only select by the extension of the file name, therefore
getting *.PTR

Is there a way around this?  Even being able to show RD*.PTR would be a
help.
--
Bronwyn Wadsworth
Fareham Lane
RD1
Blenheim
NEW ZEALAND
Phone/fax (03) 5729369
Mobile (021) 471 810



Fri, 22 Dec 2000 03:00:00 GMT  
 Filling FileOpenDialog with filenames containing wildcards

I am assuming you are talking of the Common Dialog control.
Have you tried setting the dlgName.FileName property to the filter you
want, before displaying the dialog?



Quote:
> I want to fill the FileOpenDialog with a list of files matching a
selection
> criteria which contains wildcards.

> eg RD????.PTR

> I find that I can only select by the extension of the file name,
therefore
> getting *.PTR

> Is there a way around this?  Even being able to show RD*.PTR would be a
> help.



Fri, 22 Dec 2000 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. DOS wildcard, *, not valid with .FileName?

2. Using WildCard (*) with .FileSearch.Filename in Access97 VBA with Windows 2000

3. Filename wildcards as arguments to script

4. Template that on opening starts with a box containing fiels to fill in

5. Strings containing nulls (multiple filenames)

6. Strings containing nulls (multiple filenames)

7. Fill a listbox with filenames in dir

8. filling a listbox with filenames from a web folder

9. Browse for path with FileOpenDialog or equal

10. FileOpenDialog in a tab container?

11. FileOpenDialog

12. Help w/SQL that contains variables that contain a single quote

 

 
Powered by phpBB® Forum Software